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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 115.9 kB / 16.63 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 194 kB / 17.55 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.872/0.872, allocations: 119.3 MB / 410.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 55.91 kB / 0.4904 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4782, allocations: 80.69 MB / 0.5692 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002012/0.4803, allocations: 1.286 MB / 0.5705 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001855/0.4805, allocations: 50.48 kB / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.4805, allocations: 1.062 kB / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.491e-05/0.4806, allocations: 0 / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.4807, allocations: 6.25 kB / 0.5705 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.4809, allocations: 21.22 kB / 0.5706 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.481, allocations: 99.3 kB / 0.5706 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.4811, allocations: 5.219 kB / 0.5707 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.4811, allocations: 41.67 kB / 0.5707 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.4812, allocations: 41.28 kB / 0.5707 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.4812, allocations: 5.125 kB / 0.5707 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.4813, allocations: 8.188 kB / 0.5707 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.4813, allocations: 28.28 kB / 0.5708 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.4814, allocations: 31.14 kB / 0.5708 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.4815, allocations: 50.05 kB / 0.5708 GB, free: 42.2 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4815, allocations: 1.219 kB / 0.5709 GB, free: 42.2 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4815, allocations: 0 / 0.5709 GB, free: 42.2 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.4815, allocations: 0 / 0.5709 GB, free: 42.2 MB / 462.3 MB 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.000513/0.482, allocations: 405.3 kB / 0.5712 GB, free: 41.8 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.482, allocations: 13.55 kB / 0.5712 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.4821, allocations: 4.625 kB / 0.5713 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.4822, allocations: 181.9 kB / 0.5714 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.4822, allocations: 7.719 kB / 0.5714 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.4823, allocations: 10.41 kB / 0.5714 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.4824, allocations: 94.06 kB / 0.5715 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4824, allocations: 5.5 kB / 0.5715 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4825, allocations: 9.172 kB / 0.5715 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.4825, allocations: 1.375 kB / 0.5716 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.4826, allocations: 39.56 kB / 0.5716 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.4827, allocations: 208.6 kB / 0.5718 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.4831, allocations: 135.2 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.4832, allocations: 49.59 kB / 0.572 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4832, allocations: 2.75 kB / 0.572 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.4832, allocations: 34.5 kB / 0.572 GB, free: 41.12 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.4832, allocations: 1.375 kB / 0.572 GB, free: 41.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006617/0.4839, allocations: 316.4 kB / 0.5723 GB, free: 40.89 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.4839, allocations: 56.95 kB / 0.5724 GB, free: 40.83 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.201e-05/0.484, allocations: 98.17 kB / 0.5724 GB, free: 40.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.484, allocations: 30.7 kB / 0.5725 GB, free: 40.69 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.484, allocations: 81.14 kB / 0.5726 GB, free: 40.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.4841, allocations: 53.81 kB / 0.5726 GB, free: 40.56 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.4841, allocations: 39.98 kB / 0.5726 GB, free: 40.53 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.4842, allocations: 325.6 kB / 0.573 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.4842, allocations: 52.33 kB / 0.573 GB, free: 40.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.4843, allocations: 87.16 kB / 0.5731 GB, free: 40.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.4845, allocations: 152.2 kB / 0.5732 GB, free: 40.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4845, allocations: 0 / 0.5732 GB, free: 40.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003747/0.4849, allocations: 221.5 kB / 0.5734 GB, free: 39.9 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4849, allocations: 9 kB / 0.5735 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4849, allocations: 5.234 kB / 0.5735 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.4852, allocations: 70.27 kB / 0.5735 GB, free: 39.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4854, allocations: 30.91 kB / 0.5736 GB, free: 39.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.4864, allocations: 1.582 MB / 0.5751 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.4865, allocations: 11.66 kB / 0.5751 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4865, allocations: 4.906 kB / 0.5751 GB, free: 38.3 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.4866, allocations: 136.5 kB / 0.5752 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.4866, allocations: 2.938 kB / 0.5752 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.4866, allocations: 15.97 kB / 0.5753 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.4867, allocations: 1.438 kB / 0.5753 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4867, allocations: 1.344 kB / 0.5753 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4867, allocations: 0 / 0.5753 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.4868, allocations: 207.8 kB / 0.5755 GB, free: 37.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4868, allocations: 1.719 kB / 0.5755 GB, free: 37.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.487, allocations: 28.92 kB / 0.5755 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.4872, allocations: 60.08 kB / 0.5756 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.4872, allocations: 2.5 kB / 0.5756 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009365/0.4882, allocations: 1.586 MB / 0.5771 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4882, allocations: 0 / 0.5771 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.4886, allocations: 269.3 kB / 0.5774 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.4886, allocations: 87.28 kB / 0.5774 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.4886, allocations: 3.406 kB / 0.5774 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.4887, allocations: 9.266 kB / 0.5775 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.4887, allocations: 12.39 kB / 0.5775 GB, free: 36.06 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.4887, allocations: 6.25 kB / 0.5775 GB, free: 36.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.013e-05/0.4888, allocations: 85.45 kB / 0.5776 GB, free: 35.97 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4888, allocations: 0 / 0.5776 GB, free: 35.97 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002225/0.489, allocations: 28.5 kB / 0.5776 GB, free: 35.97 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.439e-05/0.4891, allocations: 110.8 kB / 0.5777 GB, free: 35.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.4896, allocations: 268.7 kB / 0.5779 GB, free: 35.69 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4896, allocations: 0 / 0.5779 GB, free: 35.69 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.4898, allocations: 195.1 kB / 0.5781 GB, free: 35.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.49, allocations: 12.02 kB / 0.5781 GB, free: 35.53 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.4908, allocations: 0.665 MB / 0.5788 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.4909, allocations: 0.7049 MB / 0.5795 GB, free: 34.26 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.817e-05/0.491, allocations: 24.31 kB / 0.5795 GB, free: 34.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.491, allocations: 15.69 kB / 0.5795 GB, free: 34.24 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.491, allocations: 0 / 0.5795 GB, free: 34.24 MB / 462.3 MB Notification: Performance of Templates: time 0.003385/0.4944, allocations: 1.325 MB / 0.5808 GB, free: 33.62 MB / 462.3 MB 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