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.001397/0.001397, allocations: 111 kB / 17.74 MB, free: 5.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.001413/0.001413, allocations: 192.4 kB / 18.67 MB, free: 4.418 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9928/0.9928, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.66 kB / 0.5716 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1608, allocations: 80.69 MB / 0.6504 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002337/0.1632, allocations: 1.227 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000206/0.1635, allocations: 39.88 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.1635, allocations: 3.938 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.462e-05/0.1636, allocations: 4 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.1637, allocations: 19.91 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.1639, allocations: 15.97 kB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1641, allocations: 231.7 kB / 0.6519 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.1642, allocations: 8 kB / 0.6519 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.1643, allocations: 71.94 kB / 0.652 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1644, allocations: 83.75 kB / 0.6521 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.1645, allocations: 12 kB / 0.6521 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.945e-05/0.1645, allocations: 8 kB / 0.6521 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.1646, allocations: 70.19 kB / 0.6522 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.1647, allocations: 71.7 kB / 0.6522 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1649, allocations: 111.7 kB / 0.6524 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.1649, allocations: 7.984 kB / 0.6524 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1649, allocations: 7.938 kB / 0.6524 GB, free: 11 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.1649, allocations: 0 / 0.6524 GB, free: 11 MB / 0.4983 GB 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.001004/0.1659, allocations: 0.519 MB / 0.6529 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.166, allocations: 11.89 kB / 0.6529 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.166, allocations: 16.75 kB / 0.6529 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1662, allocations: 208.2 kB / 0.6531 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1663, allocations: 20.38 kB / 0.6531 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.1663, allocations: 28.28 kB / 0.6531 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.1667, allocations: 182.1 kB / 0.6533 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1667, allocations: 192 / 0.6533 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1667, allocations: 7.938 kB / 0.6533 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1667, allocations: 7.984 kB / 0.6533 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1669, allocations: 115.8 kB / 0.6534 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.1673, allocations: 297.4 kB / 0.6537 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.1678, allocations: 274.4 kB / 0.654 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.168, allocations: 117.5 kB / 0.6541 GB, free: 9.07 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1681, allocations: 4 kB / 0.6541 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1681, allocations: 34.56 kB / 0.6541 GB, free: 9.023 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.1681, allocations: 0 / 0.6541 GB, free: 9.023 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001727/0.1698, allocations: 0.6371 MB / 0.6548 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1699, allocations: 55.41 kB / 0.6548 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.241e-05/0.17, allocations: 105.8 kB / 0.6549 GB, free: 8.18 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.17, allocations: 37.7 kB / 0.655 GB, free: 8.137 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.1701, allocations: 88.8 kB / 0.655 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1702, allocations: 118.3 kB / 0.6552 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1703, allocations: 82.06 kB / 0.6552 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1704, allocations: 326.8 kB / 0.6555 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1706, allocations: 132.7 kB / 0.6557 GB, free: 7.387 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.1709, allocations: 221.6 kB / 0.6559 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.1714, allocations: 365.4 kB / 0.6562 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1714, allocations: 3.938 kB / 0.6562 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001035/0.1724, allocations: 0.5214 MB / 0.6567 GB, free: 6.207 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.1725, allocations: 8.031 kB / 0.6567 GB, free: 6.199 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1725, allocations: 4 kB / 0.6568 GB, free: 6.195 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007662/0.1733, allocations: 148.6 kB / 0.6569 GB, free: 6.047 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.1735, allocations: 79.91 kB / 0.657 GB, free: 5.969 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.1762, allocations: 2.152 MB / 0.6591 GB, free: 3.676 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1764, allocations: 35.69 kB / 0.6591 GB, free: 3.641 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1764, allocations: 12 kB / 0.6591 GB, free: 3.629 MB / 0.4983 GB 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.0001872/0.1766, allocations: 147 kB / 0.6593 GB, free: 3.477 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.1766, allocations: 15.78 kB / 0.6593 GB, free: 3.461 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.1767, allocations: 37.22 kB / 0.6593 GB, free: 3.418 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1767, allocations: 7.938 kB / 0.6593 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.1768, allocations: 0 / 0.6593 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1768, allocations: 0 / 0.6593 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.1771, allocations: 305.3 kB / 0.6596 GB, free: 3.062 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1771, allocations: 3.938 kB / 0.6596 GB, free: 3.059 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.1775, allocations: 63.97 kB / 0.6597 GB, free: 2.996 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005989/0.1781, allocations: 152.6 kB / 0.6598 GB, free: 2.844 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.1781, allocations: 15.98 kB / 0.6598 GB, free: 2.828 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.1805, allocations: 2.133 MB / 0.6619 GB, free: 0.5547 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1805, allocations: 3.938 kB / 0.6619 GB, free: 0.5508 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1816, allocations: 0.5783 MB / 0.6625 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.1816, allocations: 88.95 kB / 0.6626 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1817, allocations: 19.92 kB / 0.6626 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1818, allocations: 4 kB / 0.6626 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.1819, allocations: 32.17 kB / 0.6626 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1819, allocations: 4 kB / 0.6626 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.1819, allocations: 87.28 kB / 0.6627 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1819, allocations: 3.938 kB / 0.6627 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003235/0.1823, allocations: 72 kB / 0.6628 GB, free: 15.62 MB / 0.5139 GB 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.000141/0.1824, allocations: 119 kB / 0.6629 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000972/0.1834, allocations: 0.4905 MB / 0.6634 GB, free: 15 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1834, allocations: 0 / 0.6634 GB, free: 15 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.184, allocations: 338.9 kB / 0.6637 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1842, allocations: 19.98 kB / 0.6637 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.1861, allocations: 1.505 MB / 0.6652 GB, free: 13.1 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1865, allocations: 0.7441 MB / 0.6659 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.1866, allocations: 19.44 kB / 0.6659 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of SimCode: time 2.1e-07/0.1866, allocations: 0 / 0.6659 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of Templates: time 0.004809/0.1914, allocations: 2.609 MB / 0.6685 GB, free: 9.715 MB / 0.5139 GB 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 -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