Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 184.6 kB / 8.135 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.4 MB / 229.9 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 101.2 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.182/1.182, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 1.245e-05/1.248e-05, allocations: 0 / 0.5289 GB, free: 51.77 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2289, allocations: 82.85 MB / 0.6098 GB, free: 2.805 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8192/1.048, allocations: 124.6 MB / 0.7316 GB, free: 4.734 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/1.048, allocations: 63.88 kB / 0.7316 GB, free: 4.711 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.007778/1.056, allocations: 2.259 MB / 0.7338 GB, free: 3.02 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.281e-05/1.056, allocations: 4 kB / 0.7338 GB, free: 3.016 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006527/1.057, allocations: 479.2 kB / 0.7343 GB, free: 2.512 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.057, allocations: 12.02 kB / 0.7343 GB, free: 2.5 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/1.057, allocations: 27.06 kB / 0.7343 GB, free: 2.477 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/1.057, allocations: 206.8 kB / 0.7345 GB, free: 2.234 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.057, allocations: 7.984 kB / 0.7345 GB, free: 2.227 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/1.057, allocations: 23.41 kB / 0.7346 GB, free: 2.207 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000201/1.058, allocations: 109.6 kB / 0.7347 GB, free: 2.125 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/1.058, allocations: 166.2 kB / 0.7348 GB, free: 1.98 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.058, allocations: 0 / 0.7348 GB, free: 1.98 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/1.058, allocations: 0 / 0.7348 GB, free: 1.98 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.058, allocations: 8 kB / 0.7348 GB, free: 1.973 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/1.059, allocations: 0.5746 MB / 0.7354 GB, free: 1.402 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/1.059, allocations: 219.4 kB / 0.7356 GB, free: 1.23 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/1.059, allocations: 90.33 kB / 0.7357 GB, free: 1.164 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/1.059, allocations: 4.188 kB / 0.7357 GB, free: 1.16 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/1.059, allocations: 34.31 kB / 0.7357 GB, free: 1.121 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/1.059, allocations: 4 kB / 0.7357 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of matching and sorting (n=22): time 0.0003782/1.06, allocations: 224.3 kB / 0.7359 GB, free: 0.9297 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/1.06, allocations: 51.41 kB / 0.736 GB, free: 0.8672 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/1.06, allocations: 113 kB / 0.7361 GB, free: 0.7578 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/1.06, allocations: 25.7 kB / 0.7361 GB, free: 0.7266 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/1.06, allocations: 103.8 kB / 0.7362 GB, free: 0.6211 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/1.06, allocations: 97.56 kB / 0.7363 GB, free: 0.5391 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/1.06, allocations: 0 / 0.7363 GB, free: 0.5391 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.06, allocations: 332.8 kB / 0.7366 GB, free: 16.21 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/1.06, allocations: 111.3 kB / 0.7367 GB, free: 16.12 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/1.06, allocations: 103.4 kB / 0.7368 GB, free: 16.05 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/1.061, allocations: 130.3 kB / 0.737 GB, free: 15.95 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.061, allocations: 0 / 0.737 GB, free: 15.95 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004183/1.061, allocations: 311.5 kB / 0.7373 GB, free: 15.69 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.061, allocations: 4 kB / 0.7373 GB, free: 15.68 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.061, allocations: 7.875 kB / 0.7373 GB, free: 15.68 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.061, allocations: 4.5 kB / 0.7373 GB, free: 15.67 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/1.062, allocations: 110.8 kB / 0.7374 GB, free: 15.57 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.062, allocations: 5.562 kB / 0.7374 GB, free: 15.56 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/1.062, allocations: 19.73 kB / 0.7374 GB, free: 15.54 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/1.062, allocations: 14.88 kB / 0.7374 GB, free: 15.54 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.95e-05/1.062, allocations: 104.9 kB / 0.7375 GB, free: 15.43 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/1.062, allocations: 19.8 kB / 0.7375 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/1.062, allocations: 23.22 kB / 0.7376 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.062, allocations: 4 kB / 0.7376 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.062, allocations: 0 / 0.7376 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.062, allocations: 0 / 0.7376 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/1.062, allocations: 246.2 kB / 0.7378 GB, free: 15.14 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.062, allocations: 0 / 0.7378 GB, free: 15.14 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/1.063, allocations: 110.7 kB / 0.7379 GB, free: 15.04 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/1.063, allocations: 0 / 0.7379 GB, free: 15.04 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/1.063, allocations: 19.23 kB / 0.7379 GB, free: 15.02 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.063, allocations: 0 / 0.7379 GB, free: 15.02 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/1.063, allocations: 3.906 kB / 0.7379 GB, free: 15.02 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005266/1.064, allocations: 402.2 kB / 0.7383 GB, free: 14.68 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/1.064, allocations: 92.95 kB / 0.7384 GB, free: 14.57 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/1.064, allocations: 11.98 kB / 0.7384 GB, free: 14.55 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/1.064, allocations: 7.984 kB / 0.7384 GB, free: 14.55 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/1.064, allocations: 11.89 kB / 0.7384 GB, free: 14.54 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/1.064, allocations: 4 kB / 0.7384 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of sort global known variables: time 5.808e-05/1.064, allocations: 97.83 kB / 0.7385 GB, free: 14.44 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002793/1.065, allocations: 51.94 kB / 0.7386 GB, free: 14.39 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/1.065, allocations: 104.1 kB / 0.7387 GB, free: 14.28 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0003659/1.065, allocations: 241.6 kB / 0.7389 GB, free: 14.1 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.065, allocations: 0 / 0.7389 GB, free: 14.1 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/1.065, allocations: 111.1 kB / 0.739 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/1.065, allocations: 14.19 kB / 0.739 GB, free: 14.01 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/1.067, allocations: 1.428 MB / 0.7404 GB, free: 12.57 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/1.068, allocations: 0.7701 MB / 0.7412 GB, free: 11.78 MB / 0.5109 GB Notification: Performance of SimCode: time 2.81e-07/1.068, allocations: 4 kB / 0.7412 GB, free: 11.77 MB / 0.5109 GB Notification: Performance of Templates: time 0.005181/1.073, allocations: 2.313 MB / 0.7434 GB, free: 9.512 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches