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.001427/0.001428, allocations: 97.08 kB / 16.3 MB, free: 5.59 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.001563/0.001564, allocations: 179.1 kB / 17.19 MB, free: 5.527 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.349/1.349, allocations: 223.2 MB / 241.1 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.055/1.055, allocations: 120.5 MB / 412.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 0.4942 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5603, allocations: 82.85 MB / 0.5751 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001144/0.5615, allocations: 0.9224 MB / 0.576 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.5617, allocations: 42.86 kB / 0.576 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.5617, allocations: 3.938 kB / 0.576 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.251e-05/0.5618, allocations: 9.172 kB / 0.576 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.718e-05/0.5618, allocations: 4 kB / 0.576 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.562, allocations: 20.14 kB / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.5622, allocations: 63.84 kB / 0.5761 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.5622, allocations: 1.094 kB / 0.5761 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.5623, allocations: 34.45 kB / 0.5761 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.5623, allocations: 29.19 kB / 0.5762 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.5624, allocations: 5 kB / 0.5762 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.5624, allocations: 4.906 kB / 0.5762 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.5624, allocations: 24.42 kB / 0.5762 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.5625, allocations: 36.11 kB / 0.5762 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.537e-05/0.5625, allocations: 43.31 kB / 0.5763 GB, free: 41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.5626, allocations: 0 / 0.5763 GB, free: 41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5626, allocations: 0 / 0.5763 GB, free: 41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.5626, allocations: 0 / 0.5763 GB, free: 41 MB / 462.3 MB 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.0005361/0.5631, allocations: 389.7 kB / 0.5766 GB, free: 40.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5632, allocations: 9.562 kB / 0.5767 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.5632, allocations: 7.766 kB / 0.5767 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.5634, allocations: 184.8 kB / 0.5768 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.5634, allocations: 5.844 kB / 0.5768 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.5634, allocations: 14.59 kB / 0.5769 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.5636, allocations: 85.86 kB / 0.5769 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5636, allocations: 0 / 0.5769 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5636, allocations: 5.406 kB / 0.5769 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.5636, allocations: 1.406 kB / 0.5769 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.5637, allocations: 47.66 kB / 0.577 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.5639, allocations: 216.3 kB / 0.5772 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.5643, allocations: 131 kB / 0.5773 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.5643, allocations: 1.812 kB / 0.5773 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.5643, allocations: 32.34 kB / 0.5774 GB, free: 39.95 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.5644, allocations: 4 kB / 0.5774 GB, free: 39.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006828/0.565, allocations: 307.4 kB / 0.5776 GB, free: 39.72 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.5651, allocations: 52.78 kB / 0.5777 GB, free: 39.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.839e-05/0.5651, allocations: 107.4 kB / 0.5778 GB, free: 39.55 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.5652, allocations: 33.64 kB / 0.5778 GB, free: 39.51 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.5652, allocations: 85.52 kB / 0.5779 GB, free: 39.43 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.5652, allocations: 48.77 kB / 0.578 GB, free: 39.38 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.5652, allocations: 1.375 kB / 0.578 GB, free: 39.38 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.5653, allocations: 321.6 kB / 0.5783 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.5654, allocations: 47.47 kB / 0.5783 GB, free: 39.04 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.5655, allocations: 89.2 kB / 0.5784 GB, free: 38.98 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.183e-05/0.5656, allocations: 67.66 kB / 0.5785 GB, free: 38.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5656, allocations: 3.953 kB / 0.5785 GB, free: 38.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003829/0.566, allocations: 220.2 kB / 0.5787 GB, free: 38.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.566, allocations: 9.625 kB / 0.5787 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.566, allocations: 5.312 kB / 0.5787 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.5663, allocations: 61.83 kB / 0.5788 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.5664, allocations: 30.11 kB / 0.5788 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.5675, allocations: 1.492 MB / 0.5802 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.5676, allocations: 15.67 kB / 0.5803 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5676, allocations: 5.594 kB / 0.5803 GB, free: 37.32 MB / 462.3 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/0.5677, allocations: 123.4 kB / 0.5804 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.5677, allocations: 6.719 kB / 0.5804 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.5678, allocations: 13.41 kB / 0.5804 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5678, allocations: 1.562 kB / 0.5804 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5678, allocations: 3.984 kB / 0.5804 GB, free: 37.17 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5678, allocations: 5.453 kB / 0.5804 GB, free: 37.17 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.568, allocations: 211.6 kB / 0.5806 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.568, allocations: 0 / 0.5806 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.5681, allocations: 26.86 kB / 0.5806 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.5684, allocations: 58.83 kB / 0.5807 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.5684, allocations: 6.609 kB / 0.5807 GB, free: 36.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009926/0.5694, allocations: 1.489 MB / 0.5821 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5694, allocations: 0.9375 kB / 0.5821 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.5699, allocations: 257.6 kB / 0.5824 GB, free: 35.31 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.5699, allocations: 90.72 kB / 0.5825 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.5699, allocations: 2.781 kB / 0.5825 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.57, allocations: 5.906 kB / 0.5825 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.57, allocations: 12.58 kB / 0.5825 GB, free: 35.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.57, allocations: 5.859 kB / 0.5825 GB, free: 35.19 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.064e-05/0.5701, allocations: 78.03 kB / 0.5826 GB, free: 35.11 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5701, allocations: 0 / 0.5826 GB, free: 35.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002396/0.5703, allocations: 27.97 kB / 0.5826 GB, free: 35.11 MB / 462.3 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.478e-05/0.5704, allocations: 103.8 kB / 0.5827 GB, free: 35.01 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.5709, allocations: 259.8 kB / 0.583 GB, free: 34.84 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5709, allocations: 0 / 0.583 GB, free: 34.84 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.5712, allocations: 196.2 kB / 0.5831 GB, free: 34.68 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.5713, allocations: 11.91 kB / 0.5832 GB, free: 34.68 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.5722, allocations: 0.7834 MB / 0.5839 GB, free: 34.01 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.5724, allocations: 0.7141 MB / 0.5846 GB, free: 33.29 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.5724, allocations: 25.33 kB / 0.5846 GB, free: 33.28 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.5724, allocations: 15.69 kB / 0.5847 GB, free: 33.27 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.5725, allocations: 0 / 0.5847 GB, free: 33.27 MB / 462.3 MB Notification: Performance of Templates: time 0.003355/0.5758, allocations: 1.215 MB / 0.5858 GB, free: 32.7 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches