Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|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.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|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.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") [: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.001147/0.001147, allocations: 185.5 kB / 8.135 MB, free: 2.199 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.182/1.182, allocations: 221.4 MB / 229.9 MB, free: 3.238 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.0009193/0.0009191, allocations: 93.08 kB / 280.8 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7885/0.7885, allocations: 120.4 MB / 452 MB, free: 12.94 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.702e-06, allocations: 0 / 0.5289 GB, free: 51.72 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 82.85 MB / 0.6098 GB, free: 2.738 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6082/0.7548, allocations: 124.7 MB / 0.7316 GB, free: 4.395 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.755, allocations: 59.22 kB / 0.7316 GB, free: 4.375 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01342/0.7684, allocations: 4.078 MB / 0.7356 GB, free: 1.031 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.7685, allocations: 4 kB / 0.7356 GB, free: 1.027 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001069/0.7696, allocations: 0.6365 MB / 0.7363 GB, free: 364 kB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7696, allocations: 14.66 kB / 0.7363 GB, free: 352 kB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.7697, allocations: 27.72 kB / 0.7363 GB, free: 324 kB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.77, allocations: 250.2 kB / 0.7365 GB, free: 36 kB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.77, allocations: 12.41 kB / 0.7365 GB, free: 24 kB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.7702, allocations: 43.31 kB / 0.7366 GB, free: 15.97 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003846/0.7706, allocations: 192.7 kB / 0.7368 GB, free: 15.83 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.7711, allocations: 322 kB / 0.7371 GB, free: 15.56 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.7711, allocations: 0 / 0.7371 GB, free: 15.56 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.7711, allocations: 4.906 kB / 0.7371 GB, free: 15.55 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.7712, allocations: 4 kB / 0.7371 GB, free: 15.55 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.7732, allocations: 0.9643 MB / 0.738 GB, free: 14.63 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.7737, allocations: 418.5 kB / 0.7384 GB, free: 14.31 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.7739, allocations: 180.3 kB / 0.7386 GB, free: 14.19 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.774, allocations: 11.98 kB / 0.7386 GB, free: 14.18 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.774, allocations: 37.31 kB / 0.7386 GB, free: 14.13 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 2.475e-06/0.774, allocations: 0 / 0.7386 GB, free: 14.13 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0006512/0.7747, allocations: 411.6 kB / 0.739 GB, free: 13.8 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.7747, allocations: 55.41 kB / 0.7391 GB, free: 13.73 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.7748, allocations: 117.6 kB / 0.7392 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.7748, allocations: 26.08 kB / 0.7392 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.7749, allocations: 112.6 kB / 0.7393 GB, free: 13.48 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.775, allocations: 198.6 kB / 0.7395 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.7751, allocations: 0 / 0.7395 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7752, allocations: 345.3 kB / 0.7399 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.7755, allocations: 215.8 kB / 0.7401 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.7757, allocations: 215.6 kB / 0.7403 GB, free: 12.66 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.7761, allocations: 258.5 kB / 0.7405 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7761, allocations: 0 / 0.7405 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007899/0.7769, allocations: 0.5794 MB / 0.7411 GB, free: 11.99 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7769, allocations: 4 kB / 0.7411 GB, free: 11.99 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7769, allocations: 3.906 kB / 0.7411 GB, free: 11.98 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.7769, allocations: 11.98 kB / 0.7411 GB, free: 11.97 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000939/0.7779, allocations: 214.9 kB / 0.7413 GB, free: 11.77 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7779, allocations: 3.109 kB / 0.7413 GB, free: 11.77 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.7781, allocations: 39.52 kB / 0.7413 GB, free: 11.73 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.7782, allocations: 19.25 kB / 0.7414 GB, free: 11.71 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 (82): * Single equations (assignments): 82 * 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 0.0001036/0.7783, allocations: 117.2 kB / 0.7415 GB, free: 11.59 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.7784, allocations: 19.72 kB / 0.7415 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.7785, allocations: 49.12 kB / 0.7415 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7785, allocations: 4 kB / 0.7415 GB, free: 11.56 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7785, allocations: 0 / 0.7415 GB, free: 11.56 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.7785, allocations: 3.984 kB / 0.7415 GB, free: 11.56 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.7789, allocations: 341.5 kB / 0.7419 GB, free: 11.22 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7789, allocations: 0 / 0.7419 GB, free: 11.22 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.7803, allocations: 218.7 kB / 0.7421 GB, free: 11.02 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7803, allocations: 4 kB / 0.7421 GB, free: 11.01 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.7804, allocations: 23.97 kB / 0.7421 GB, free: 10.99 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7804, allocations: 7 kB / 0.7421 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7804, allocations: 0 / 0.7421 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008004/0.7812, allocations: 0.6754 MB / 0.7428 GB, free: 10.42 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.7813, allocations: 96.86 kB / 0.7429 GB, free: 10.3 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/0.7813, allocations: 19.97 kB / 0.7429 GB, free: 10.29 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.7816, allocations: 11.98 kB / 0.7429 GB, free: 10.27 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.7817, allocations: 27.69 kB / 0.7429 GB, free: 10.25 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.7817, allocations: 11.98 kB / 0.7429 GB, free: 10.24 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.649e-05/0.7818, allocations: 87.16 kB / 0.743 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003548/0.7822, allocations: 104.2 kB / 0.7431 GB, free: 10.05 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001692/0.7823, allocations: 123 kB / 0.7432 GB, free: 9.926 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0006086/0.783, allocations: 489.1 kB / 0.7437 GB, free: 9.559 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.783, allocations: 3.938 kB / 0.7437 GB, free: 9.555 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.7832, allocations: 220.2 kB / 0.7439 GB, free: 9.395 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.7834, allocations: 11.75 kB / 0.7439 GB, free: 9.387 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.7866, allocations: 2.826 MB / 0.7467 GB, free: 6.551 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.7871, allocations: 0.8565 MB / 0.7475 GB, free: 5.684 MB / 0.5109 GB Notification: Performance of SimCode: time 3.6e-07/0.7871, allocations: 0 / 0.7475 GB, free: 5.684 MB / 0.5109 GB Notification: Performance of Templates: time 0.006966/0.794, allocations: 4.293 MB / 0.7517 GB, free: 1.43 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches