Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 113.2 kB / 17.69 MB, free: 5.309 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.001445/0.001446, allocations: 191 kB / 18.63 MB, free: 4.375 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.443/1.443, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.141/1.141, allocations: 119.3 MB / 411.8 MB, free: 9.543 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.88 kB / 0.4924 GB, free: 13.05 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5492, allocations: 80.68 MB / 0.5712 GB, free: 43.59 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.00236/0.5516, allocations: 1.232 MB / 0.5724 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001905/0.5518, allocations: 42.69 kB / 0.5724 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.5519, allocations: 0 / 0.5724 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.645e-05/0.552, allocations: 1.344 kB / 0.5724 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.552, allocations: 17.56 kB / 0.5724 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.5522, allocations: 16.56 kB / 0.5724 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.5525, allocations: 234.7 kB / 0.5727 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.5525, allocations: 2.656 kB / 0.5727 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.5526, allocations: 81.8 kB / 0.5727 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.5528, allocations: 73.95 kB / 0.5728 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.5528, allocations: 14.5 kB / 0.5728 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.169e-05/0.5528, allocations: 12 kB / 0.5728 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.5529, allocations: 62.06 kB / 0.5729 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.553, allocations: 73.25 kB / 0.573 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.5532, allocations: 116 kB / 0.5731 GB, free: 42.21 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5532, allocations: 0 / 0.5731 GB, free: 42.21 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5532, allocations: 4 kB / 0.5731 GB, free: 42.21 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.5532, allocations: 1.156 kB / 0.5731 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009347/0.5541, allocations: 0.5289 MB / 0.5736 GB, free: 41.75 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5542, allocations: 13.36 kB / 0.5736 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.5542, allocations: 12.53 kB / 0.5736 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.5544, allocations: 203.3 kB / 0.5738 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5545, allocations: 11.88 kB / 0.5738 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.5545, allocations: 32.81 kB / 0.5739 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.5548, allocations: 185 kB / 0.574 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.5548, allocations: 3 kB / 0.574 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.5549, allocations: 9.469 kB / 0.574 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5549, allocations: 2.75 kB / 0.574 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.555, allocations: 104 kB / 0.5741 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.5554, allocations: 322.7 kB / 0.5745 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.5559, allocations: 266 kB / 0.5747 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.5561, allocations: 124.2 kB / 0.5748 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.5561, allocations: 6.781 kB / 0.5748 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.5561, allocations: 41.5 kB / 0.5749 GB, free: 40.81 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.5561, allocations: 0 / 0.5749 GB, free: 40.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001731/0.5579, allocations: 0.625 MB / 0.5755 GB, free: 40.44 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5579, allocations: 55.06 kB / 0.5755 GB, free: 40.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.752e-05/0.558, allocations: 102.6 kB / 0.5756 GB, free: 40.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.558, allocations: 36.17 kB / 0.5757 GB, free: 40.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.5581, allocations: 81.95 kB / 0.5757 GB, free: 40.14 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-05/0.5582, allocations: 125.3 kB / 0.5759 GB, free: 40.04 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5583, allocations: 79.58 kB / 0.5759 GB, free: 39.98 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.5584, allocations: 333.1 kB / 0.5763 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.5586, allocations: 129.2 kB / 0.5764 GB, free: 39.6 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.5588, allocations: 218.2 kB / 0.5766 GB, free: 39.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.5594, allocations: 371.8 kB / 0.5769 GB, free: 39.21 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.5594, allocations: 3.938 kB / 0.5769 GB, free: 39.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001017/0.5604, allocations: 0.516 MB / 0.5775 GB, free: 38.95 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.5604, allocations: 6.875 kB / 0.5775 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5604, allocations: 2.75 kB / 0.5775 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/0.5611, allocations: 154.8 kB / 0.5776 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.5614, allocations: 82.81 kB / 0.5777 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.5638, allocations: 2.166 MB / 0.5798 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5639, allocations: 27.09 kB / 0.5798 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.564, allocations: 19 kB / 0.5798 GB, free: 37 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.5641, allocations: 142.6 kB / 0.58 GB, free: 36.87 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.5641, allocations: 17.44 kB / 0.58 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.5642, allocations: 35.06 kB / 0.58 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.5642, allocations: 6.766 kB / 0.58 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5642, allocations: 5.781 kB / 0.58 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5642, allocations: 0.9375 kB / 0.58 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.5645, allocations: 301.8 kB / 0.5803 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5645, allocations: 3.938 kB / 0.5803 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.5649, allocations: 66.25 kB / 0.5804 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000635/0.5655, allocations: 148.9 kB / 0.5805 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.5656, allocations: 14.45 kB / 0.5806 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.5677, allocations: 2.147 MB / 0.5827 GB, free: 34.64 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5677, allocations: 1.281 kB / 0.5827 GB, free: 34.64 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.5687, allocations: 0.5718 MB / 0.5832 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.5688, allocations: 89.98 kB / 0.5833 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.5688, allocations: 18.23 kB / 0.5833 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.5689, allocations: 6.531 kB / 0.5833 GB, free: 34.22 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.569, allocations: 26 kB / 0.5833 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.569, allocations: 5.031 kB / 0.5834 GB, free: 34.21 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.809e-05/0.569, allocations: 81.8 kB / 0.5834 GB, free: 34.13 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5691, allocations: 1.281 kB / 0.5834 GB, free: 34.13 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003863/0.5694, allocations: 74.06 kB / 0.5835 GB, free: 34.11 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.5696, allocations: 112.7 kB / 0.5836 GB, free: 34.02 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009389/0.5705, allocations: 0.5016 MB / 0.5841 GB, free: 33.73 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5705, allocations: 1.25 kB / 0.5841 GB, free: 33.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005312/0.5711, allocations: 325.4 kB / 0.5844 GB, free: 33.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.5713, allocations: 12.34 kB / 0.5844 GB, free: 33.53 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.573, allocations: 1.48 MB / 0.5859 GB, free: 32.34 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.5732, allocations: 0.7425 MB / 0.5866 GB, free: 31.62 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.5734, allocations: 69.06 kB / 0.5867 GB, free: 31.59 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.5734, allocations: 16.53 kB / 0.5867 GB, free: 31.58 MB / 462.3 MB Notification: Performance of SimCode: time 7.12e-07/0.5734, allocations: 0 / 0.5867 GB, free: 31.58 MB / 462.3 MB Notification: Performance of Templates: time 0.005743/0.5792, allocations: 2.751 MB / 0.5894 GB, free: 30.21 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches