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.001411/0.001411, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.00173/0.00173, allocations: 194.9 kB / 18 MB, free: 5.172 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 411.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 60.58 kB / 0.5709 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 80.69 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002383/0.1529, allocations: 1.218 MB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00026/0.1532, allocations: 47.88 kB / 0.6509 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.1532, allocations: 0 / 0.6509 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.548e-05/0.1533, allocations: 0 / 0.6509 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.1534, allocations: 11.92 kB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1536, allocations: 23.95 kB / 0.651 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1538, allocations: 103.8 kB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.1538, allocations: 3.938 kB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.1539, allocations: 31.97 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.154, allocations: 39.88 kB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.154, allocations: 8 kB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 2.345e-05/0.1541, allocations: 8 kB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.1541, allocations: 19.97 kB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.1542, allocations: 39.78 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.1543, allocations: 43.81 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1543, allocations: 0 / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1543, allocations: 0 / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1543, allocations: 0 / 0.6512 GB, free: 11.51 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.0006582/0.155, allocations: 411.2 kB / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.155, allocations: 15.88 kB / 0.6516 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1551, allocations: 8.891 kB / 0.6517 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1553, allocations: 176.4 kB / 0.6518 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1553, allocations: 4.375 kB / 0.6518 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.1553, allocations: 20.33 kB / 0.6518 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1555, allocations: 86.14 kB / 0.6519 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1555, allocations: 192 / 0.6519 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1555, allocations: 7.938 kB / 0.6519 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1555, allocations: 3.938 kB / 0.6519 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.1556, allocations: 43.95 kB / 0.652 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.1559, allocations: 213.5 kB / 0.6522 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.1563, allocations: 134.6 kB / 0.6523 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.1564, allocations: 52.83 kB / 0.6524 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.1564, allocations: 0 / 0.6524 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1564, allocations: 38.56 kB / 0.6524 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.1564, allocations: 0 / 0.6524 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007467/0.1572, allocations: 307.3 kB / 0.6527 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1572, allocations: 55.41 kB / 0.6528 GB, free: 9.758 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.1573, allocations: 106 kB / 0.6529 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1573, allocations: 29.7 kB / 0.6529 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.1574, allocations: 86.42 kB / 0.653 GB, free: 9.523 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.1574, allocations: 51.59 kB / 0.653 GB, free: 9.473 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.1575, allocations: 38.05 kB / 0.653 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1576, allocations: 326.8 kB / 0.6534 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.1577, allocations: 47.97 kB / 0.6534 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.1578, allocations: 88.25 kB / 0.6535 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.158, allocations: 152.2 kB / 0.6536 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.158, allocations: 0 / 0.6536 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004136/0.1585, allocations: 214.3 kB / 0.6538 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1585, allocations: 15.22 kB / 0.6539 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1585, allocations: 7.875 kB / 0.6539 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.1588, allocations: 69.11 kB / 0.6539 GB, free: 8.48 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.159, allocations: 39.91 kB / 0.654 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.1604, allocations: 1.582 MB / 0.6555 GB, free: 6.711 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.772e-05/0.1605, allocations: 15.92 kB / 0.6555 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1605, allocations: 4 kB / 0.6555 GB, free: 6.691 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 9.617e-05/0.1606, allocations: 132.7 kB / 0.6557 GB, free: 6.555 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.1607, allocations: 4 kB / 0.6557 GB, free: 6.551 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.1607, allocations: 19.95 kB / 0.6557 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1607, allocations: 0 / 0.6557 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1607, allocations: 0 / 0.6557 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1607, allocations: 4 kB / 0.6557 GB, free: 6.531 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.1609, allocations: 213.4 kB / 0.6559 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1609, allocations: 0 / 0.6559 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.1611, allocations: 31.98 kB / 0.6559 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.1613, allocations: 60.8 kB / 0.656 GB, free: 6.18 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1614, allocations: 0 / 0.656 GB, free: 6.18 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.1627, allocations: 1.578 MB / 0.6575 GB, free: 4.465 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1627, allocations: 0 / 0.6575 GB, free: 4.465 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.1631, allocations: 270.2 kB / 0.6578 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.1632, allocations: 89.03 kB / 0.6579 GB, free: 4.074 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1632, allocations: 4 kB / 0.6579 GB, free: 4.07 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.1633, allocations: 4 kB / 0.6579 GB, free: 4.066 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1633, allocations: 7.984 kB / 0.6579 GB, free: 4.059 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1633, allocations: 15.94 kB / 0.6579 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.1634, allocations: 79.28 kB / 0.658 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1634, allocations: 0 / 0.658 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002296/0.1636, allocations: 31.98 kB / 0.658 GB, free: 3.934 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.0001147/0.1637, allocations: 107.7 kB / 0.6581 GB, free: 3.816 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.1642, allocations: 270.5 kB / 0.6584 GB, free: 3.539 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1643, allocations: 0 / 0.6584 GB, free: 3.539 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.1646, allocations: 186.6 kB / 0.6585 GB, free: 3.344 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.1647, allocations: 4 kB / 0.6585 GB, free: 3.34 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008924/0.1656, allocations: 0.6571 MB / 0.6592 GB, free: 2.656 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1659, allocations: 0.7079 MB / 0.6599 GB, free: 1.922 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 5.932e-05/0.166, allocations: 24.53 kB / 0.6599 GB, free: 1.898 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.166, allocations: 11.44 kB / 0.6599 GB, free: 1.887 MB / 0.4983 GB Notification: Performance of SimCode: time 4.51e-07/0.166, allocations: 0 / 0.6599 GB, free: 1.887 MB / 0.4983 GB Notification: Performance of Templates: time 0.003769/0.1698, allocations: 1.335 MB / 0.6612 GB, free: 0.5898 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches