Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001173/0.001173, allocations: 113.7 kB / 16.63 MB, free: 6.34 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.001115/0.001115, allocations: 188 kB / 17.55 MB, free: 5.801 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.226/1.226, allocations: 222.9 MB / 241.2 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8781/0.8781, allocations: 119.3 MB / 410.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 55.91 kB / 0.4904 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4712, allocations: 80.69 MB / 0.5692 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002082/0.4734, allocations: 1.28 MB / 0.5705 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001864/0.4736, allocations: 42.56 kB / 0.5705 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.4736, allocations: 0 / 0.5705 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.21e-05/0.4737, allocations: 5.094 kB / 0.5705 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.4738, allocations: 6.109 kB / 0.5705 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.4739, allocations: 20.28 kB / 0.5705 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.4741, allocations: 107 kB / 0.5706 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.4741, allocations: 10.42 kB / 0.5707 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.4742, allocations: 36.61 kB / 0.5707 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.4742, allocations: 33.78 kB / 0.5707 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.4743, allocations: 5.062 kB / 0.5707 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.4743, allocations: 4.5 kB / 0.5707 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.4743, allocations: 31.59 kB / 0.5708 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.4744, allocations: 35.75 kB / 0.5708 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.4745, allocations: 46.16 kB / 0.5708 GB, free: 41.74 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4745, allocations: 1.125 kB / 0.5708 GB, free: 41.74 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4745, allocations: 0 / 0.5708 GB, free: 41.74 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.4745, allocations: 4 kB / 0.5708 GB, free: 41.73 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.0005127/0.475, allocations: 397.8 kB / 0.5712 GB, free: 41.34 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4751, allocations: 16.7 kB / 0.5712 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.4751, allocations: 9 kB / 0.5713 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.4752, allocations: 185.6 kB / 0.5714 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4752, allocations: 4.094 kB / 0.5714 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.4753, allocations: 10.84 kB / 0.5714 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.4754, allocations: 89.38 kB / 0.5715 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4755, allocations: 2.281 kB / 0.5715 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4755, allocations: 7.938 kB / 0.5715 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4755, allocations: 2.094 kB / 0.5715 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.4756, allocations: 39.72 kB / 0.5716 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.4758, allocations: 212.4 kB / 0.5718 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.4761, allocations: 135.3 kB / 0.5719 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.4762, allocations: 54.23 kB / 0.572 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.4762, allocations: 5.109 kB / 0.572 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.4762, allocations: 31.69 kB / 0.572 GB, free: 40.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.4763, allocations: 0 / 0.572 GB, free: 40.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006583/0.4769, allocations: 312.9 kB / 0.5723 GB, free: 40.43 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.4769, allocations: 52.84 kB / 0.5723 GB, free: 40.37 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.437e-05/0.477, allocations: 98.98 kB / 0.5724 GB, free: 40.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.477, allocations: 27.27 kB / 0.5725 GB, free: 40.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.477, allocations: 88.14 kB / 0.5725 GB, free: 40.14 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.4771, allocations: 57.83 kB / 0.5726 GB, free: 40.09 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.4771, allocations: 31.38 kB / 0.5726 GB, free: 40.07 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.4772, allocations: 325.3 kB / 0.5729 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.4773, allocations: 56.88 kB / 0.573 GB, free: 39.72 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.4773, allocations: 87.84 kB / 0.5731 GB, free: 39.65 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.4775, allocations: 143.6 kB / 0.5732 GB, free: 39.56 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4775, allocations: 3.938 kB / 0.5732 GB, free: 39.56 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003828/0.4779, allocations: 236.7 kB / 0.5734 GB, free: 39.42 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4779, allocations: 9.438 kB / 0.5735 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.478, allocations: 1.094 kB / 0.5735 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.4782, allocations: 57.2 kB / 0.5735 GB, free: 39.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4784, allocations: 31.45 kB / 0.5735 GB, free: 39.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.4794, allocations: 1.591 MB / 0.5751 GB, free: 37.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.4795, allocations: 8.344 kB / 0.5751 GB, free: 37.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4795, allocations: 8.906 kB / 0.5751 GB, free: 37.83 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 7.219e-05/0.4796, allocations: 130.9 kB / 0.5752 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.4796, allocations: 2.656 kB / 0.5752 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.4797, allocations: 21.67 kB / 0.5753 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4797, allocations: 1.625 kB / 0.5753 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4797, allocations: 1.812 kB / 0.5753 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4797, allocations: 3.984 kB / 0.5753 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.4798, allocations: 211.9 kB / 0.5755 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4798, allocations: 0 / 0.5755 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.48, allocations: 25.83 kB / 0.5755 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/0.4802, allocations: 63.73 kB / 0.5756 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4802, allocations: 10.56 kB / 0.5756 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009637/0.4812, allocations: 1.578 MB / 0.5771 GB, free: 35.87 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4812, allocations: 0 / 0.5771 GB, free: 35.87 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.4816, allocations: 264.7 kB / 0.5774 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.4817, allocations: 87.7 kB / 0.5774 GB, free: 35.6 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.4817, allocations: 3.469 kB / 0.5774 GB, free: 35.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.4817, allocations: 7.922 kB / 0.5775 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.4818, allocations: 12.95 kB / 0.5775 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.4818, allocations: 6.594 kB / 0.5775 GB, free: 35.58 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.96e-05/0.4818, allocations: 81.75 kB / 0.5776 GB, free: 35.5 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4818, allocations: 0 / 0.5776 GB, free: 35.5 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002152/0.482, allocations: 31.69 kB / 0.5776 GB, free: 35.49 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.468e-05/0.4821, allocations: 104.5 kB / 0.5777 GB, free: 35.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.4826, allocations: 260 kB / 0.5779 GB, free: 35.23 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4826, allocations: 0 / 0.5779 GB, free: 35.23 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.4828, allocations: 200.4 kB / 0.5781 GB, free: 35.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.483, allocations: 11.06 kB / 0.5781 GB, free: 35.06 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.4839, allocations: 0.6727 MB / 0.5788 GB, free: 34.5 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.4841, allocations: 0.7016 MB / 0.5795 GB, free: 33.79 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.792e-05/0.4842, allocations: 28.05 kB / 0.5795 GB, free: 33.78 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.4842, allocations: 16.41 kB / 0.5795 GB, free: 33.77 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4842, allocations: 3.938 kB / 0.5795 GB, free: 33.77 MB / 462.3 MB Notification: Performance of Templates: time 0.003713/0.488, allocations: 1.314 MB / 0.5808 GB, free: 33.14 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches