Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [: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.0017/0.0017, allocations: 186 kB / 8.135 MB, free: 2.113 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.185/1.185, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.0009985/0.0009983, allocations: 99.12 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7205/0.7205, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.839e-06/4.869e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 82.85 MB / 0.6091 GB, free: 3.57 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5263/0.6526, allocations: 124.5 MB / 0.7307 GB, free: 5.191 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001196/0.6528, allocations: 53.14 kB / 0.7308 GB, free: 5.172 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.003237/0.656, allocations: 0.9606 MB / 0.7317 GB, free: 4.633 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.6561, allocations: 0 / 0.7317 GB, free: 4.633 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003415/0.6564, allocations: 373.4 kB / 0.7321 GB, free: 4.242 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.6565, allocations: 8.031 kB / 0.7321 GB, free: 4.234 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.6565, allocations: 8.516 kB / 0.7321 GB, free: 4.227 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.6566, allocations: 183.8 kB / 0.7322 GB, free: 4.012 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.6567, allocations: 4 kB / 0.7322 GB, free: 4.008 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.6567, allocations: 8.75 kB / 0.7323 GB, free: 4 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001083/0.6568, allocations: 41 kB / 0.7323 GB, free: 3.973 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.6569, allocations: 82.03 kB / 0.7324 GB, free: 3.91 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6569, allocations: 4.75 kB / 0.7324 GB, free: 3.906 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.657, allocations: 0 / 0.7324 GB, free: 3.906 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.657, allocations: 4 kB / 0.7324 GB, free: 3.902 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.6572, allocations: 181.7 kB / 0.7326 GB, free: 3.715 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.6575, allocations: 127.2 kB / 0.7327 GB, free: 3.613 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.6576, allocations: 51.02 kB / 0.7327 GB, free: 3.574 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.6576, allocations: 0.7031 kB / 0.7327 GB, free: 3.574 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.024e-05/0.6576, allocations: 32.69 kB / 0.7328 GB, free: 3.535 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.6576, allocations: 0 / 0.7328 GB, free: 3.535 MB / 0.4953 GB Notification: Performance of matching and sorting (n=12): time 0.0004117/0.658, allocations: 164.8 kB / 0.7329 GB, free: 3.406 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.6581, allocations: 56.81 kB / 0.733 GB, free: 3.34 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.6581, allocations: 92.84 kB / 0.7331 GB, free: 3.246 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.6581, allocations: 25.7 kB / 0.7331 GB, free: 3.215 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.385e-05/0.6581, allocations: 89.16 kB / 0.7332 GB, free: 3.125 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.6582, allocations: 48.89 kB / 0.7332 GB, free: 3.09 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.6582, allocations: 0 / 0.7332 GB, free: 3.09 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6583, allocations: 324.7 kB / 0.7335 GB, free: 18.77 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.6584, allocations: 45.09 kB / 0.7336 GB, free: 18.74 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.6585, allocations: 91.98 kB / 0.7337 GB, free: 18.66 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.6586, allocations: 61 kB / 0.7337 GB, free: 18.62 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6586, allocations: 0 / 0.7337 GB, free: 18.62 MB / 0.5109 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003656/0.659, allocations: 219.5 kB / 0.7339 GB, free: 18.43 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.659, allocations: 8 kB / 0.7339 GB, free: 18.42 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.659, allocations: 0.875 kB / 0.7339 GB, free: 18.42 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/0.6593, allocations: 56.11 kB / 0.734 GB, free: 18.36 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.6594, allocations: 43.02 kB / 0.734 GB, free: 18.32 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.6604, allocations: 1.401 MB / 0.7354 GB, free: 16.87 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.6605, allocations: 15.78 kB / 0.7354 GB, free: 16.85 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.6605, allocations: 4 kB / 0.7354 GB, free: 16.85 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/0.6606, allocations: 108.8 kB / 0.7355 GB, free: 16.73 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.6606, allocations: 8.062 kB / 0.7355 GB, free: 16.73 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.6607, allocations: 17.78 kB / 0.7355 GB, free: 16.72 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6607, allocations: 4 kB / 0.7355 GB, free: 16.71 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6607, allocations: 0 / 0.7355 GB, free: 16.71 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6607, allocations: 0 / 0.7355 GB, free: 16.71 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.6608, allocations: 187.5 kB / 0.7357 GB, free: 16.5 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6608, allocations: 0 / 0.7357 GB, free: 16.5 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.661, allocations: 26.98 kB / 0.7357 GB, free: 16.48 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/0.6613, allocations: 59.86 kB / 0.7358 GB, free: 16.42 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.6613, allocations: 4 kB / 0.7358 GB, free: 16.42 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000981/0.6623, allocations: 1.408 MB / 0.7372 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6623, allocations: 0 / 0.7372 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003652/0.6627, allocations: 251.8 kB / 0.7374 GB, free: 14.72 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.6627, allocations: 81.02 kB / 0.7375 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.6627, allocations: 7.984 kB / 0.7375 GB, free: 14.61 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.6628, allocations: 3.5 kB / 0.7375 GB, free: 14.61 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.6628, allocations: 7.984 kB / 0.7375 GB, free: 14.61 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.6628, allocations: 4 kB / 0.7375 GB, free: 14.6 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.156e-05/0.6629, allocations: 79.28 kB / 0.7376 GB, free: 14.52 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002187/0.6631, allocations: 24 kB / 0.7376 GB, free: 14.5 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.93e-05/0.6632, allocations: 102.4 kB / 0.7377 GB, free: 14.39 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.6636, allocations: 242.1 kB / 0.7379 GB, free: 14.17 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6636, allocations: 0 / 0.7379 GB, free: 14.17 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.6638, allocations: 171.7 kB / 0.7381 GB, free: 14.01 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.664, allocations: 10.88 kB / 0.7381 GB, free: 14 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.6647, allocations: 0.6374 MB / 0.7387 GB, free: 13.36 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.6649, allocations: 0.7146 MB / 0.7394 GB, free: 12.62 MB / 0.5109 GB Notification: Performance of SimCode: time 2.41e-07/0.665, allocations: 0 / 0.7394 GB, free: 12.62 MB / 0.5109 GB Notification: Performance of Templates: time 0.00329/0.6682, allocations: 1.382 MB / 0.7408 GB, free: 11.28 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches