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.001342/0.001342, allocations: 107.3 kB / 17.69 MB, free: 5.496 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.001309/0.001309, allocations: 184.8 kB / 18.62 MB, free: 4.578 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.318/1.318, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.006/1.006, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 73.56 kB / 0.5715 GB, free: 39.92 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 80.69 MB / 0.6503 GB, free: 13.24 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002278/0.1627, allocations: 1.215 MB / 0.6515 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001927/0.163, allocations: 43.86 kB / 0.6515 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.163, allocations: 0 / 0.6515 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.509e-05/0.1631, allocations: 7.938 kB / 0.6515 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.1632, allocations: 11.98 kB / 0.6515 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.1634, allocations: 19.91 kB / 0.6516 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1635, allocations: 99.83 kB / 0.6517 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1636, allocations: 7.984 kB / 0.6517 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.1636, allocations: 39.97 kB / 0.6517 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.1637, allocations: 35.83 kB / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1638, allocations: 4 kB / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.1638, allocations: 8 kB / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.1638, allocations: 27.95 kB / 0.6518 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.1639, allocations: 27.86 kB / 0.6518 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.885e-05/0.164, allocations: 51.75 kB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.164, allocations: 0 / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.844e-06/0.164, allocations: 0 / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.164, allocations: 0 / 0.6518 GB, free: 11.63 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.0006486/0.1647, allocations: 411.4 kB / 0.6522 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1647, allocations: 8.031 kB / 0.6522 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1648, allocations: 8.844 kB / 0.6523 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.1649, allocations: 184.3 kB / 0.6524 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.165, allocations: 4.375 kB / 0.6524 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.165, allocations: 16.28 kB / 0.6524 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1652, allocations: 86.19 kB / 0.6525 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1652, allocations: 192 / 0.6525 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1652, allocations: 11.92 kB / 0.6525 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1652, allocations: 4 kB / 0.6525 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.386e-05/0.1653, allocations: 39.97 kB / 0.6526 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.1656, allocations: 209.6 kB / 0.6528 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.166, allocations: 138.4 kB / 0.6529 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.1661, allocations: 49.17 kB / 0.653 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1661, allocations: 3.938 kB / 0.653 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1661, allocations: 34.56 kB / 0.653 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.1661, allocations: 0 / 0.653 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007584/0.1669, allocations: 311.3 kB / 0.6533 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1669, allocations: 59.39 kB / 0.6534 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.167, allocations: 93.86 kB / 0.6534 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.167, allocations: 29.7 kB / 0.6535 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.1671, allocations: 86.48 kB / 0.6536 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.1671, allocations: 43.36 kB / 0.6536 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.1672, allocations: 45.98 kB / 0.6536 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1673, allocations: 326.8 kB / 0.654 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.1674, allocations: 47.97 kB / 0.654 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1675, allocations: 88.2 kB / 0.6541 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.1677, allocations: 156.1 kB / 0.6542 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1677, allocations: 0 / 0.6542 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004187/0.1682, allocations: 218.2 kB / 0.6544 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1682, allocations: 16.06 kB / 0.6545 GB, free: 8.684 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1682, allocations: 3.984 kB / 0.6545 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003324/0.1686, allocations: 60.8 kB / 0.6545 GB, free: 8.617 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1687, allocations: 35.88 kB / 0.6545 GB, free: 8.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.1702, allocations: 1.59 MB / 0.6561 GB, free: 6.844 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.1703, allocations: 12.03 kB / 0.6561 GB, free: 6.832 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1703, allocations: 8 kB / 0.6561 GB, free: 6.824 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.0001095/0.1704, allocations: 130.6 kB / 0.6562 GB, free: 6.688 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.1704, allocations: 7.906 kB / 0.6563 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.1705, allocations: 11.97 kB / 0.6563 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1705, allocations: 0 / 0.6563 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1705, allocations: 0 / 0.6563 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1705, allocations: 4 kB / 0.6563 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1707, allocations: 217.5 kB / 0.6565 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1707, allocations: 0 / 0.6565 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1708, allocations: 27.98 kB / 0.6565 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/0.1711, allocations: 60.73 kB / 0.6566 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1711, allocations: 0 / 0.6566 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.1725, allocations: 1.586 MB / 0.6581 GB, free: 4.594 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1725, allocations: 3.938 kB / 0.6581 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.173, allocations: 254.2 kB / 0.6584 GB, free: 4.32 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.173, allocations: 89.09 kB / 0.6584 GB, free: 4.215 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1731, allocations: 8.062 kB / 0.6584 GB, free: 4.207 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.1731, allocations: 4 kB / 0.6585 GB, free: 4.203 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1731, allocations: 15.97 kB / 0.6585 GB, free: 4.188 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1732, allocations: 7.938 kB / 0.6585 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.1732, allocations: 79.27 kB / 0.6586 GB, free: 4.102 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1732, allocations: 0 / 0.6586 GB, free: 4.102 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002298/0.1735, allocations: 28 kB / 0.6586 GB, free: 4.074 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.0001198/0.1736, allocations: 119.7 kB / 0.6587 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.1741, allocations: 254.6 kB / 0.6589 GB, free: 3.684 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1741, allocations: 0 / 0.6589 GB, free: 3.684 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.1744, allocations: 198.5 kB / 0.6591 GB, free: 3.477 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.1746, allocations: 9.562 kB / 0.6591 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.1755, allocations: 0.6748 MB / 0.6598 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1758, allocations: 0.704 MB / 0.6605 GB, free: 2.035 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.1759, allocations: 11.44 kB / 0.6605 GB, free: 2.023 MB / 0.4983 GB Notification: Performance of SimCode: time 4.21e-07/0.1759, allocations: 0 / 0.6605 GB, free: 2.023 MB / 0.4983 GB Notification: Performance of Templates: time 0.003249/0.1791, allocations: 1.443 MB / 0.6619 GB, free: 0.582 MB / 0.4983 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches