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.001383/0.001383, allocations: 109.5 kB / 17.06 MB, free: 6.016 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.00125/0.00125, allocations: 190.1 kB / 18 MB, free: 5.102 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.459/1.459, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.139/1.139, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 74.31 kB / 0.5709 GB, free: 39.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 80.68 MB / 0.6497 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002707/0.155, allocations: 1.211 MB / 0.6509 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000225/0.1552, allocations: 47.88 kB / 0.6509 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.1553, allocations: 0 / 0.6509 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.954e-05/0.1554, allocations: 7.922 kB / 0.6509 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.1555, allocations: 7.984 kB / 0.6509 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.1557, allocations: 27.89 kB / 0.651 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1559, allocations: 99.83 kB / 0.6511 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.1559, allocations: 4 kB / 0.6511 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.156, allocations: 31.97 kB / 0.6511 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.1561, allocations: 43.89 kB / 0.6511 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.1561, allocations: 4 kB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 2.103e-05/0.1562, allocations: 4 kB / 0.6512 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.1562, allocations: 23.95 kB / 0.6512 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.1563, allocations: 35.84 kB / 0.6512 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.352e-05/0.1564, allocations: 39.83 kB / 0.6512 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1564, allocations: 0 / 0.6512 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1564, allocations: 4 kB / 0.6513 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1564, allocations: 0 / 0.6513 GB, free: 11.6 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007492/0.1572, allocations: 411.2 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1572, allocations: 11.89 kB / 0.6517 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1573, allocations: 12.83 kB / 0.6517 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1575, allocations: 184.3 kB / 0.6518 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1575, allocations: 12.38 kB / 0.6519 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.1576, allocations: 12.31 kB / 0.6519 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1577, allocations: 86.2 kB / 0.6519 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1578, allocations: 4.188 kB / 0.652 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1578, allocations: 3.938 kB / 0.652 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1578, allocations: 0 / 0.652 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1579, allocations: 43.95 kB / 0.652 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.1582, allocations: 209.6 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.1586, allocations: 138.6 kB / 0.6523 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.693e-05/0.1587, allocations: 52.98 kB / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1587, allocations: 7.984 kB / 0.6524 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1588, allocations: 30.56 kB / 0.6524 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1588, allocations: 0 / 0.6524 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007998/0.1596, allocations: 311.3 kB / 0.6527 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1596, allocations: 55.41 kB / 0.6528 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.1597, allocations: 101.8 kB / 0.6529 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1598, allocations: 29.7 kB / 0.6529 GB, free: 9.695 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.1598, allocations: 82.48 kB / 0.653 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.1599, allocations: 55.53 kB / 0.653 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.16, allocations: 38.05 kB / 0.6531 GB, free: 9.516 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1601, allocations: 326.8 kB / 0.6534 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.1602, allocations: 47.95 kB / 0.6534 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1604, allocations: 88.25 kB / 0.6535 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.1606, allocations: 152.6 kB / 0.6536 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1606, allocations: 3.938 kB / 0.6537 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004648/0.1611, allocations: 222.2 kB / 0.6539 GB, free: 8.645 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1611, allocations: 7.938 kB / 0.6539 GB, free: 8.637 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1611, allocations: 128 / 0.6539 GB, free: 8.637 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.1615, allocations: 72.73 kB / 0.6539 GB, free: 8.562 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1616, allocations: 31.98 kB / 0.654 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.1634, allocations: 1.582 MB / 0.6555 GB, free: 6.801 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.1635, allocations: 11.89 kB / 0.6555 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1635, allocations: 12.06 kB / 0.6555 GB, free: 6.777 MB / 0.4983 GB 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 0.0001204/0.1636, allocations: 128.8 kB / 0.6557 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.1637, allocations: 4 kB / 0.6557 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.1637, allocations: 16.3 kB / 0.6557 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1637, allocations: 0 / 0.6557 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1637, allocations: 4 kB / 0.6557 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1637, allocations: 7.969 kB / 0.6557 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.164, allocations: 209.5 kB / 0.6559 GB, free: 6.363 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.164, allocations: 7.938 kB / 0.6559 GB, free: 6.355 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1642, allocations: 27.98 kB / 0.6559 GB, free: 6.328 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002847/0.1645, allocations: 64.73 kB / 0.656 GB, free: 6.262 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1645, allocations: 3.984 kB / 0.656 GB, free: 6.258 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.1661, allocations: 1.574 MB / 0.6575 GB, free: 4.547 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.1661, allocations: 4.031 kB / 0.6575 GB, free: 4.543 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.1666, allocations: 264.2 kB / 0.6578 GB, free: 4.266 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1667, allocations: 81.05 kB / 0.6579 GB, free: 4.168 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1667, allocations: 7.984 kB / 0.6579 GB, free: 4.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.1668, allocations: 8 kB / 0.6579 GB, free: 4.152 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1668, allocations: 11.98 kB / 0.6579 GB, free: 4.141 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1669, allocations: 7.938 kB / 0.6579 GB, free: 4.133 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.1669, allocations: 83.28 kB / 0.658 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1669, allocations: 0 / 0.658 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002456/0.1672, allocations: 28 kB / 0.658 GB, free: 4.023 MB / 0.4983 GB 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 0.0001387/0.1673, allocations: 108 kB / 0.6581 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005665/0.1679, allocations: 258.6 kB / 0.6584 GB, free: 3.641 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.1679, allocations: 7.938 kB / 0.6584 GB, free: 3.633 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.1682, allocations: 198.5 kB / 0.6586 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1684, allocations: 0 / 0.6586 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1695, allocations: 0.653 MB / 0.6592 GB, free: 2.746 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1699, allocations: 0.7041 MB / 0.6599 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.605e-05/0.1699, allocations: 28.52 kB / 0.6599 GB, free: 1.988 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.17, allocations: 11.44 kB / 0.6599 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of SimCode: time 3.51e-07/0.17, allocations: 4 kB / 0.6599 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of Templates: time 0.004476/0.1745, allocations: 1.343 MB / 0.6612 GB, free: 0.6758 MB / 0.4983 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches