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.001489/0.001489, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001529/0.001529, allocations: 189.6 kB / 18.67 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.08/1.08, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 65.98 kB / 0.5716 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1642, 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.002296/0.1665, allocations: 1.223 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.1668, allocations: 39.94 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.1668, allocations: 3.938 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.1669, allocations: 11.92 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.167, allocations: 11.98 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.1672, allocations: 23.89 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1675, allocations: 231.7 kB / 0.6519 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.1675, allocations: 4 kB / 0.6519 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.1676, allocations: 75.94 kB / 0.652 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1677, allocations: 75.83 kB / 0.6521 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.1678, allocations: 8 kB / 0.6521 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.369e-05/0.1678, allocations: 16 kB / 0.6521 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.1679, allocations: 70.19 kB / 0.6522 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.168, allocations: 71.69 kB / 0.6522 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1682, allocations: 111.7 kB / 0.6524 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1682, allocations: 0 / 0.6524 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1682, allocations: 3.938 kB / 0.6524 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1682, allocations: 0 / 0.6524 GB, free: 11.01 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.0009737/0.1692, allocations: 0.5307 MB / 0.6529 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1692, allocations: 11.89 kB / 0.6529 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.1693, allocations: 20.75 kB / 0.6529 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1695, allocations: 204.2 kB / 0.6531 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1695, allocations: 16.38 kB / 0.6531 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.1696, allocations: 28.28 kB / 0.6531 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.1699, allocations: 182 kB / 0.6533 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1699, allocations: 4.188 kB / 0.6533 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.1699, allocations: 7.938 kB / 0.6533 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1699, allocations: 4 kB / 0.6533 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.1701, allocations: 103.9 kB / 0.6534 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1705, allocations: 321.3 kB / 0.6537 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.171, allocations: 262.4 kB / 0.654 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1712, allocations: 125.5 kB / 0.6541 GB, free: 9.062 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1712, allocations: 7.938 kB / 0.6541 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1713, allocations: 30.56 kB / 0.6541 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.1713, allocations: 4 kB / 0.6541 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001668/0.1729, allocations: 0.6332 MB / 0.6548 GB, free: 8.352 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.173, allocations: 55.39 kB / 0.6548 GB, free: 8.285 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.851e-05/0.1731, allocations: 105.9 kB / 0.6549 GB, free: 8.172 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.1731, allocations: 37.69 kB / 0.655 GB, free: 8.129 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.1731, allocations: 88.8 kB / 0.655 GB, free: 8.039 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1733, allocations: 114.3 kB / 0.6552 GB, free: 7.926 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1734, allocations: 82.08 kB / 0.6552 GB, free: 7.84 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1735, allocations: 330.8 kB / 0.6555 GB, free: 7.508 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1737, allocations: 128.8 kB / 0.6557 GB, free: 7.383 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.1739, allocations: 221.6 kB / 0.6559 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.1744, allocations: 369.3 kB / 0.6562 GB, free: 6.734 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.1744, allocations: 3.938 kB / 0.6562 GB, free: 6.73 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009772/0.1754, allocations: 0.5214 MB / 0.6567 GB, free: 6.199 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1754, allocations: 7.125 kB / 0.6568 GB, free: 6.195 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1754, allocations: 4 kB / 0.6568 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.1761, allocations: 148.7 kB / 0.6569 GB, free: 6.043 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1764, allocations: 79.91 kB / 0.657 GB, free: 5.965 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.1789, allocations: 2.16 MB / 0.6591 GB, free: 3.664 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.179, allocations: 31.75 kB / 0.6591 GB, free: 3.633 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1791, allocations: 16 kB / 0.6591 GB, free: 3.617 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.0001423/0.1792, allocations: 138.9 kB / 0.6593 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.1793, allocations: 11.84 kB / 0.6593 GB, free: 3.461 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.1794, allocations: 41.22 kB / 0.6593 GB, free: 3.414 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1794, allocations: 3.938 kB / 0.6593 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.1794, allocations: 4 kB / 0.6593 GB, free: 3.406 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1794, allocations: 3.984 kB / 0.6593 GB, free: 3.402 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.1797, allocations: 305.3 kB / 0.6596 GB, free: 3.055 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1797, allocations: 3.938 kB / 0.6596 GB, free: 3.051 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.1801, allocations: 71.91 kB / 0.6597 GB, free: 2.98 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005875/0.1807, allocations: 140.7 kB / 0.6598 GB, free: 2.84 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.1807, allocations: 15.98 kB / 0.6598 GB, free: 2.824 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.1833, allocations: 2.144 MB / 0.6619 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1834, allocations: 0 / 0.6619 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1844, allocations: 0.5781 MB / 0.6625 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.1845, allocations: 88.95 kB / 0.6626 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1845, allocations: 19.92 kB / 0.6626 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1846, allocations: 4 kB / 0.6626 GB, free: 15.81 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.1847, allocations: 28.25 kB / 0.6626 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1847, allocations: 4 kB / 0.6626 GB, free: 15.78 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.1848, allocations: 87.27 kB / 0.6627 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1848, allocations: 3.938 kB / 0.6627 GB, free: 15.69 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003445/0.1851, 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.0001444/0.1853, allocations: 119.1 kB / 0.6629 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009994/0.1863, allocations: 498.2 kB / 0.6634 GB, free: 15 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1863, allocations: 0.625 kB / 0.6634 GB, free: 15 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/0.1869, allocations: 334.4 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.0002176/0.1871, allocations: 19.64 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.002115/0.1892, allocations: 1.501 MB / 0.6652 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1896, allocations: 0.7441 MB / 0.6659 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.1897, allocations: 15.44 kB / 0.6659 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of SimCode: time 4.71e-07/0.1897, allocations: 0 / 0.6659 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of Templates: time 0.005321/0.195, allocations: 2.598 MB / 0.6685 GB, free: 9.734 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