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.0008337/0.0008339, allocations: 86.11 kB / 16.64 MB, free: 6.113 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.001067/0.001068, allocations: 186.4 kB / 17.56 MB, free: 5.777 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.379/1.379, allocations: 223.3 MB / 241.6 MB, free: 100 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9592/0.9592, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003422, allocations: 12 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5374, allocations: 82.84 MB / 0.5758 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001068/0.5385, allocations: 0.9459 MB / 0.5767 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.5387, allocations: 47.7 kB / 0.5768 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.5387, allocations: 0 / 0.5768 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.935e-05/0.5388, allocations: 0 / 0.5768 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.5389, allocations: 11.42 kB / 0.5768 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.539, allocations: 20.59 kB / 0.5768 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.5392, allocations: 126.9 kB / 0.5769 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.5393, allocations: 5.828 kB / 0.5769 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.5393, allocations: 32.33 kB / 0.5769 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.5394, allocations: 38.5 kB / 0.577 GB, free: 41 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.5394, allocations: 8.5 kB / 0.577 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.5394, allocations: 4.625 kB / 0.577 GB, free: 41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.5395, allocations: 26.19 kB / 0.577 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.5396, allocations: 56.14 kB / 0.5771 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.737e-05/0.5396, allocations: 49.81 kB / 0.5771 GB, free: 40.9 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5396, allocations: 1.312 kB / 0.5771 GB, free: 40.9 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5396, allocations: 0 / 0.5771 GB, free: 40.9 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.5397, allocations: 0 / 0.5771 GB, free: 40.9 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.0005068/0.5402, allocations: 396.8 kB / 0.5775 GB, free: 40.51 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5402, allocations: 8.938 kB / 0.5775 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.5403, allocations: 8.469 kB / 0.5775 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5404, allocations: 187.3 kB / 0.5777 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.5404, allocations: 10.19 kB / 0.5777 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.5404, allocations: 11.56 kB / 0.5777 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5406, allocations: 94.72 kB / 0.5778 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5406, allocations: 192 / 0.5778 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.5406, allocations: 5.75 kB / 0.5778 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5407, allocations: 0 / 0.5778 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.5407, allocations: 44.56 kB / 0.5779 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.5409, allocations: 208 kB / 0.5781 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.5413, allocations: 140.8 kB / 0.5782 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.5414, allocations: 49.58 kB / 0.5782 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5414, allocations: 1.375 kB / 0.5782 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.5414, allocations: 31.94 kB / 0.5783 GB, free: 39.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.5414, allocations: 0 / 0.5783 GB, free: 39.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006586/0.5421, allocations: 316.2 kB / 0.5786 GB, free: 39.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.5421, allocations: 52.78 kB / 0.5786 GB, free: 39.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.5422, allocations: 99.36 kB / 0.5787 GB, free: 39.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.5422, allocations: 29.7 kB / 0.5787 GB, free: 39.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.937e-05/0.5422, allocations: 85.5 kB / 0.5788 GB, free: 39.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.5422, allocations: 48.77 kB / 0.5789 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.5423, allocations: 20.59 kB / 0.5789 GB, free: 39.24 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.5423, allocations: 329.5 kB / 0.5792 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.5424, allocations: 52.78 kB / 0.5793 GB, free: 38.89 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.344e-05/0.5425, allocations: 94.7 kB / 0.5793 GB, free: 38.82 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.5427, allocations: 154.7 kB / 0.5795 GB, free: 38.72 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5427, allocations: 0 / 0.5795 GB, free: 38.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003996/0.5431, allocations: 226.6 kB / 0.5797 GB, free: 38.59 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5431, allocations: 8.25 kB / 0.5797 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5431, allocations: 1.844 kB / 0.5797 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.5434, allocations: 61.52 kB / 0.5798 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.5436, allocations: 34.67 kB / 0.5798 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.5446, allocations: 1.475 MB / 0.5812 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.5447, allocations: 11.59 kB / 0.5813 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.5447, allocations: 4.594 kB / 0.5813 GB, free: 37.11 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 (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 7.497e-05/0.5448, allocations: 132.2 kB / 0.5814 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.5448, allocations: 2.75 kB / 0.5814 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.5449, allocations: 16.91 kB / 0.5814 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.5449, allocations: 1.844 kB / 0.5814 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5449, allocations: 0.9062 kB / 0.5814 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5449, allocations: 0 / 0.5814 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.545, allocations: 207.9 kB / 0.5816 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.545, allocations: 4.875 kB / 0.5816 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.5452, allocations: 37.14 kB / 0.5817 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.5454, allocations: 56.17 kB / 0.5817 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.5455, allocations: 6.75 kB / 0.5817 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009514/0.5464, allocations: 1.471 MB / 0.5831 GB, free: 35.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5464, allocations: 0.9062 kB / 0.5831 GB, free: 35.27 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.5469, allocations: 261.5 kB / 0.5834 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.5469, allocations: 95.5 kB / 0.5835 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.5469, allocations: 3.75 kB / 0.5835 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.547, allocations: 4 kB / 0.5835 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.547, allocations: 13.45 kB / 0.5835 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.547, allocations: 7.906 kB / 0.5835 GB, free: 34.97 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.638e-05/0.5471, allocations: 79.27 kB / 0.5836 GB, free: 34.89 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5471, allocations: 0 / 0.5836 GB, free: 34.89 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002264/0.5473, allocations: 32.34 kB / 0.5836 GB, free: 34.89 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 (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 8.755e-05/0.5474, allocations: 98.97 kB / 0.5837 GB, free: 34.79 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004676/0.5479, allocations: 257.8 kB / 0.584 GB, free: 34.62 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5479, allocations: 0 / 0.584 GB, free: 34.62 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.5481, allocations: 193 kB / 0.5841 GB, free: 34.47 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.5483, allocations: 10.88 kB / 0.5842 GB, free: 34.46 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.5491, allocations: 0.7932 MB / 0.5849 GB, free: 33.79 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.5492, allocations: 0.7045 MB / 0.5856 GB, free: 33.08 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.5493, allocations: 28.8 kB / 0.5856 GB, free: 33.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.5493, allocations: 11.22 kB / 0.5857 GB, free: 33.06 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.5493, allocations: 0 / 0.5857 GB, free: 33.06 MB / 462.3 MB Notification: Performance of Templates: time 0.003452/0.5528, allocations: 1.26 MB / 0.5869 GB, free: 32.47 MB / 462.3 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches