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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 102.9 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7655/0.7655, allocations: 119.3 MB / 460.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009801/0.0009802, allocations: 47.92 kB / 0.5391 GB, free: 43.21 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1369, allocations: 80.69 MB / 0.6179 GB, free: 12.7 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002195/0.1392, allocations: 1.277 MB / 0.6192 GB, free: 11.41 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001754/0.1393, allocations: 47.88 kB / 0.6192 GB, free: 11.37 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.1394, allocations: 0 / 0.6192 GB, free: 11.37 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.864e-05/0.1395, allocations: 3.984 kB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.1396, allocations: 11.94 kB / 0.6192 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.1397, allocations: 19.95 kB / 0.6192 GB, free: 11.33 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1399, allocations: 127.8 kB / 0.6194 GB, free: 11.21 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.1399, allocations: 7.984 kB / 0.6194 GB, free: 11.2 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.14, allocations: 31.92 kB / 0.6194 GB, free: 11.17 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.1401, allocations: 35.94 kB / 0.6194 GB, free: 11.13 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1401, allocations: 8 kB / 0.6194 GB, free: 11.12 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.1401, allocations: 8 kB / 0.6194 GB, free: 11.12 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.1402, allocations: 27.91 kB / 0.6195 GB, free: 11.09 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.1402, allocations: 27.86 kB / 0.6195 GB, free: 11.06 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.846e-05/0.1403, allocations: 48.14 kB / 0.6195 GB, free: 11.02 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1403, allocations: 0 / 0.6195 GB, free: 11.02 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1403, allocations: 0 / 0.6195 GB, free: 11.02 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1403, allocations: 0 / 0.6195 GB, free: 11.02 MB / 442.8 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.0006173/0.1409, allocations: 411.3 kB / 0.6199 GB, free: 10.56 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.141, allocations: 8.031 kB / 0.6199 GB, free: 10.55 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.1411, allocations: 12.78 kB / 0.62 GB, free: 10.54 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1412, allocations: 172.4 kB / 0.6201 GB, free: 10.34 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1412, allocations: 12.38 kB / 0.6201 GB, free: 10.32 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1413, allocations: 12.38 kB / 0.6201 GB, free: 10.31 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1414, allocations: 90.12 kB / 0.6202 GB, free: 10.22 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1415, allocations: 192 / 0.6202 GB, free: 10.22 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.1415, allocations: 7.938 kB / 0.6202 GB, free: 10.21 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1415, allocations: 4 kB / 0.6202 GB, free: 10.21 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.54e-05/0.1416, allocations: 43.91 kB / 0.6203 GB, free: 10.16 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.1418, allocations: 205.5 kB / 0.6205 GB, free: 9.914 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.1422, allocations: 138.5 kB / 0.6206 GB, free: 9.77 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.1423, allocations: 44.84 kB / 0.6207 GB, free: 9.723 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1423, allocations: 3.984 kB / 0.6207 GB, free: 9.719 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1423, allocations: 34.56 kB / 0.6207 GB, free: 9.676 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1423, allocations: 4 kB / 0.6207 GB, free: 9.672 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.000707/0.143, allocations: 315.6 kB / 0.621 GB, free: 9.336 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1431, allocations: 51.41 kB / 0.621 GB, free: 9.273 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.1432, allocations: 97.84 kB / 0.6211 GB, free: 9.168 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1432, allocations: 33.7 kB / 0.6212 GB, free: 9.129 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.1432, allocations: 80.14 kB / 0.6213 GB, free: 9.047 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.1433, allocations: 59.17 kB / 0.6213 GB, free: 8.988 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.1433, allocations: 37.72 kB / 0.6213 GB, free: 8.945 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1434, allocations: 330.8 kB / 0.6217 GB, free: 8.613 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.1435, allocations: 55.86 kB / 0.6217 GB, free: 8.559 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.1436, allocations: 87.52 kB / 0.6218 GB, free: 8.461 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1438, allocations: 152.2 kB / 0.6219 GB, free: 8.297 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1438, allocations: 0 / 0.6219 GB, free: 8.297 MB / 442.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004123/0.1442, allocations: 230.6 kB / 0.6222 GB, free: 8.062 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1443, allocations: 11.94 kB / 0.6222 GB, free: 8.051 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1443, allocations: 0 / 0.6222 GB, free: 8.051 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.1446, allocations: 60.92 kB / 0.6222 GB, free: 7.988 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1447, allocations: 39.92 kB / 0.6223 GB, free: 7.949 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.1461, allocations: 1.468 MB / 0.6237 GB, free: 6.34 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.1461, allocations: 7.844 kB / 0.6237 GB, free: 6.332 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1462, allocations: 12 kB / 0.6237 GB, free: 6.32 MB / 442.8 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 9.961e-05/0.1463, allocations: 129.8 kB / 0.6238 GB, free: 6.184 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.1463, allocations: 4 kB / 0.6238 GB, free: 6.18 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.1463, allocations: 11.97 kB / 0.6239 GB, free: 6.164 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1463, allocations: 4 kB / 0.6239 GB, free: 6.16 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1463, allocations: 0 / 0.6239 GB, free: 6.16 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1464, allocations: 0 / 0.6239 GB, free: 6.16 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.1465, allocations: 209.5 kB / 0.6241 GB, free: 5.906 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1465, allocations: 4 kB / 0.6241 GB, free: 5.902 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1467, allocations: 27.92 kB / 0.6241 GB, free: 5.875 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.147, allocations: 61.12 kB / 0.6242 GB, free: 5.812 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.147, allocations: 7.984 kB / 0.6242 GB, free: 5.805 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1482, allocations: 1.472 MB / 0.6256 GB, free: 4.203 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1482, allocations: 4 kB / 0.6256 GB, free: 4.199 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.152, allocations: 3.363 MB / 0.6289 GB, free: 0.5508 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.1521, allocations: 81.11 kB / 0.629 GB, free: 464 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1521, allocations: 3.938 kB / 0.629 GB, free: 460 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.1521, allocations: 11.98 kB / 0.629 GB, free: 448 kB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.1522, allocations: 8 kB / 0.629 GB, free: 440 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1522, allocations: 7.984 kB / 0.629 GB, free: 432 kB / 442.8 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.1522, allocations: 79.28 kB / 0.6291 GB, free: 352 kB / 442.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1522, allocations: 0 / 0.6291 GB, free: 352 kB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003009/0.1525, allocations: 44 kB / 0.6291 GB, free: 308 kB / 442.8 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 9.931e-05/0.1527, allocations: 107.1 kB / 0.6292 GB, free: 188 kB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.1531, allocations: 266.5 kB / 0.6295 GB, free: 15.91 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1532, allocations: 3.938 kB / 0.6295 GB, free: 15.91 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.1534, allocations: 190.7 kB / 0.6297 GB, free: 15.71 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1536, allocations: 11.98 kB / 0.6297 GB, free: 15.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1548, allocations: 0.9549 MB / 0.6306 GB, free: 14.69 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.155, allocations: 0.7049 MB / 0.6313 GB, free: 13.96 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.1551, allocations: 36.52 kB / 0.6313 GB, free: 13.92 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.1551, allocations: 11.44 kB / 0.6313 GB, free: 13.91 MB / 458.8 MB Notification: Performance of SimCode: time 2.2e-07/0.1551, allocations: 0 / 0.6313 GB, free: 13.91 MB / 458.8 MB Notification: Performance of Templates: time 0.00391/0.1591, allocations: 1.935 MB / 0.6332 GB, free: 12.01 MB / 458.8 MB 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@2/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