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.001284/0.001285, allocations: 102.8 kB / 16.62 MB, free: 6.812 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.001285/0.001285, allocations: 197.9 kB / 17.55 MB, free: 5.949 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.287/1.287, allocations: 222.9 MB / 241.2 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9622/0.9622, allocations: 119.3 MB / 410.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.83 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4344, allocations: 80.69 MB / 0.5692 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001804/0.4363, allocations: 1.276 MB / 0.5705 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.4364, allocations: 43.97 kB / 0.5705 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.4364, allocations: 0 / 0.5705 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.861e-05/0.4365, allocations: 9.312 kB / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.4366, allocations: 9.359 kB / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.4367, allocations: 21.45 kB / 0.5706 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.4368, allocations: 102.8 kB / 0.5707 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.4369, allocations: 6.188 kB / 0.5707 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.4369, allocations: 31.92 kB / 0.5707 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.437, allocations: 38.44 kB / 0.5707 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.437, allocations: 5.406 kB / 0.5707 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.437, allocations: 3.562 kB / 0.5707 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/0.4371, allocations: 36.45 kB / 0.5708 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.4371, allocations: 27.3 kB / 0.5708 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.792e-05/0.4372, allocations: 58.42 kB / 0.5709 GB, free: 42.21 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.4372, allocations: 0 / 0.5709 GB, free: 42.21 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4372, allocations: 1.219 kB / 0.5709 GB, free: 42.21 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.4372, allocations: 0 / 0.5709 GB, free: 42.21 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.000459/0.4377, allocations: 396.5 kB / 0.5712 GB, free: 41.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4377, allocations: 13.58 kB / 0.5713 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.4378, allocations: 4.844 kB / 0.5713 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.4379, allocations: 189.2 kB / 0.5714 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4379, allocations: 8.281 kB / 0.5714 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.4379, allocations: 10.72 kB / 0.5715 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4381, allocations: 82.39 kB / 0.5715 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4381, allocations: 5.469 kB / 0.5715 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4381, allocations: 11.88 kB / 0.5716 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.4381, allocations: 2.25 kB / 0.5716 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.4382, allocations: 43.86 kB / 0.5716 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.4384, allocations: 208.1 kB / 0.5718 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.4387, allocations: 136.3 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/0.4388, allocations: 48.58 kB / 0.572 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.4388, allocations: 1.594 kB / 0.572 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.4388, allocations: 40 kB / 0.572 GB, free: 41.13 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.4388, allocations: 0 / 0.572 GB, free: 41.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006227/0.4394, allocations: 308.9 kB / 0.5723 GB, free: 40.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.4395, allocations: 52.88 kB / 0.5724 GB, free: 40.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.476e-05/0.4395, allocations: 103.2 kB / 0.5725 GB, free: 40.74 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.4395, allocations: 29.7 kB / 0.5725 GB, free: 40.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.376e-05/0.4395, allocations: 81.64 kB / 0.5726 GB, free: 40.62 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.4396, allocations: 54.38 kB / 0.5726 GB, free: 40.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.4396, allocations: 39.8 kB / 0.5726 GB, free: 40.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.4397, allocations: 320.3 kB / 0.573 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.211e-05/0.4397, allocations: 60.69 kB / 0.573 GB, free: 40.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.4398, allocations: 90.47 kB / 0.5731 GB, free: 40.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.44, allocations: 151.5 kB / 0.5732 GB, free: 40.03 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.44, allocations: 0 / 0.5732 GB, free: 40.03 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003671/0.4404, allocations: 229.1 kB / 0.5735 GB, free: 39.9 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4404, allocations: 9.406 kB / 0.5735 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4404, allocations: 1 kB / 0.5735 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/0.4407, allocations: 66.09 kB / 0.5735 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4408, allocations: 38.55 kB / 0.5736 GB, free: 39.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.4418, allocations: 1.572 MB / 0.5751 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.4419, allocations: 18.3 kB / 0.5751 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4419, allocations: 5.188 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.17e-05/0.442, allocations: 132.3 kB / 0.5753 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.442, allocations: 2.969 kB / 0.5753 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.442, allocations: 11.97 kB / 0.5753 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.442, allocations: 1.406 kB / 0.5753 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.442, allocations: 1.438 kB / 0.5753 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.442, allocations: 3.984 kB / 0.5753 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.4422, allocations: 212.4 kB / 0.5755 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4422, allocations: 0 / 0.5755 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.4423, allocations: 25.83 kB / 0.5755 GB, free: 37.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.4426, allocations: 64.55 kB / 0.5756 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4426, allocations: 6.422 kB / 0.5756 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009033/0.4435, allocations: 1.586 MB / 0.5771 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4435, allocations: 0 / 0.5771 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.4439, allocations: 257.6 kB / 0.5774 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.4439, allocations: 87.45 kB / 0.5774 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.444, allocations: 11.23 kB / 0.5775 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.444, allocations: 1.062 kB / 0.5775 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.444, allocations: 8.797 kB / 0.5775 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4441, allocations: 14.25 kB / 0.5775 GB, free: 36.06 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.4441, allocations: 77.47 kB / 0.5776 GB, free: 35.98 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4441, allocations: 0 / 0.5776 GB, free: 35.98 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002157/0.4443, allocations: 27.81 kB / 0.5776 GB, free: 35.98 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 7.279e-05/0.4444, allocations: 108.5 kB / 0.5777 GB, free: 35.88 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004285/0.4448, allocations: 267.7 kB / 0.5779 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4448, allocations: 1.188 kB / 0.5779 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.4451, allocations: 199.9 kB / 0.5781 GB, free: 35.55 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.4452, allocations: 6.375 kB / 0.5781 GB, free: 35.54 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.446, allocations: 0.6803 MB / 0.5788 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.4461, allocations: 0.6983 MB / 0.5795 GB, free: 34.27 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.652e-05/0.4462, allocations: 27.77 kB / 0.5795 GB, free: 34.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.4462, allocations: 11.97 kB / 0.5795 GB, free: 34.25 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4462, allocations: 0 / 0.5795 GB, free: 34.25 MB / 462.3 MB Notification: Performance of Templates: time 0.003047/0.4492, allocations: 1.322 MB / 0.5808 GB, free: 33.63 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/jenkins1/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