Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001293/0.001293, allocations: 184.5 kB / 8.138 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.119/1.119, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009578/0.0009578, allocations: 100.4 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.718/0.718, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.514e-06, allocations: 0 / 0.5289 GB, free: 51.78 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 82.83 MB / 0.6098 GB, free: 2.836 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5401/0.6687, allocations: 124.7 MB / 0.7316 GB, free: 4.688 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000166/0.6689, allocations: 73.03 kB / 0.7317 GB, free: 4.66 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01313/0.6821, allocations: 4.068 MB / 0.7356 GB, free: 1.34 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.6821, allocations: 8 kB / 0.7356 GB, free: 1.332 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.001064/0.6832, allocations: 0.6407 MB / 0.7363 GB, free: 0.6641 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.6832, allocations: 16.02 kB / 0.7363 GB, free: 0.6484 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.6833, allocations: 31.72 kB / 0.7363 GB, free: 0.6172 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.6836, allocations: 246.7 kB / 0.7365 GB, free: 344 kB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.6836, allocations: 13.09 kB / 0.7366 GB, free: 332 kB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.6837, allocations: 42.47 kB / 0.7366 GB, free: 296 kB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003081/0.684, allocations: 192 kB / 0.7368 GB, free: 148 kB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.6845, allocations: 314.8 kB / 0.7371 GB, free: 15.87 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6845, allocations: 0 / 0.7371 GB, free: 15.87 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.6845, allocations: 7.906 kB / 0.7371 GB, free: 15.86 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.6846, allocations: 4 kB / 0.7371 GB, free: 15.86 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.6865, allocations: 0.9702 MB / 0.738 GB, free: 14.93 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.687, allocations: 419.5 kB / 0.7384 GB, free: 14.61 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.6873, allocations: 174.5 kB / 0.7386 GB, free: 14.49 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.6873, allocations: 4 kB / 0.7386 GB, free: 14.49 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.6873, allocations: 37.31 kB / 0.7386 GB, free: 14.45 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 1.744e-06/0.6873, allocations: 0 / 0.7386 GB, free: 14.45 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0006371/0.688, allocations: 412.5 kB / 0.739 GB, free: 14.11 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.688, allocations: 59.41 kB / 0.7391 GB, free: 14.04 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.6881, allocations: 123.4 kB / 0.7392 GB, free: 13.93 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.6881, allocations: 25.7 kB / 0.7392 GB, free: 13.89 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.6882, allocations: 112 kB / 0.7393 GB, free: 13.79 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.6883, allocations: 188.6 kB / 0.7395 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.6883, allocations: 0 / 0.7395 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.6884, allocations: 346.2 kB / 0.7398 GB, free: 13.29 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.6887, allocations: 212.1 kB / 0.7401 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.689, allocations: 221.9 kB / 0.7403 GB, free: 12.97 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.6893, allocations: 257.2 kB / 0.7405 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6893, allocations: 0 / 0.7405 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007469/0.6901, allocations: 0.5819 MB / 0.7411 GB, free: 12.3 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6901, allocations: 7.938 kB / 0.7411 GB, free: 12.29 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6901, allocations: 3.906 kB / 0.7411 GB, free: 12.29 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6901, allocations: 6.25 kB / 0.7411 GB, free: 12.29 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/0.691, allocations: 215.5 kB / 0.7413 GB, free: 12.08 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6911, allocations: 4 kB / 0.7413 GB, free: 12.08 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.6913, allocations: 43.52 kB / 0.7413 GB, free: 12.04 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.6914, allocations: 15.25 kB / 0.7414 GB, free: 12.02 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.0001051/0.6915, allocations: 109.2 kB / 0.7415 GB, free: 11.91 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.6915, allocations: 23.72 kB / 0.7415 GB, free: 11.89 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.179e-05/0.6916, allocations: 46.75 kB / 0.7415 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6917, allocations: 7.984 kB / 0.7415 GB, free: 11.87 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6917, allocations: 7.984 kB / 0.7415 GB, free: 11.86 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.6917, allocations: 0 / 0.7415 GB, free: 11.86 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.6921, allocations: 341.5 kB / 0.7419 GB, free: 11.53 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6921, allocations: 0 / 0.7419 GB, free: 11.53 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.6934, allocations: 215.2 kB / 0.7421 GB, free: 11.32 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6934, allocations: 0 / 0.7421 GB, free: 11.32 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.6935, allocations: 27.41 kB / 0.7421 GB, free: 11.3 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6935, allocations: 0 / 0.7421 GB, free: 11.3 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6935, allocations: 4 kB / 0.7421 GB, free: 11.3 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008306/0.6943, allocations: 0.6758 MB / 0.7428 GB, free: 10.73 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.6944, allocations: 100.8 kB / 0.7429 GB, free: 10.61 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.6945, allocations: 19.92 kB / 0.7429 GB, free: 10.59 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.6947, allocations: 11.98 kB / 0.7429 GB, free: 10.58 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.6948, allocations: 31.11 kB / 0.7429 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.6949, allocations: 11 kB / 0.7429 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.66e-05/0.6949, allocations: 90.64 kB / 0.743 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003365/0.6953, allocations: 99.88 kB / 0.7431 GB, free: 10.36 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.000163/0.6954, allocations: 122.9 kB / 0.7432 GB, free: 10.23 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0006158/0.6961, allocations: 485.3 kB / 0.7437 GB, free: 9.871 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6961, allocations: 0 / 0.7437 GB, free: 9.871 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.6963, allocations: 219.4 kB / 0.7439 GB, free: 9.711 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.6965, allocations: 12.83 kB / 0.7439 GB, free: 9.703 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.6996, allocations: 2.831 MB / 0.7467 GB, free: 6.859 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/0.7001, allocations: 0.8567 MB / 0.7475 GB, free: 5.992 MB / 0.5109 GB Notification: Performance of SimCode: time 4.31e-07/0.7001, allocations: 0 / 0.7475 GB, free: 5.992 MB / 0.5109 GB Notification: Performance of Templates: time 0.00707/0.7072, allocations: 4.295 MB / 0.7517 GB, free: 1.738 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches