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.001571/0.001571, allocations: 106.6 kB / 17.06 MB, free: 6.004 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.00187/0.00187, allocations: 191.8 kB / 18 MB, free: 5.09 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.899/0.899, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 61.42 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1353, allocations: 80.7 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002077/0.1374, allocations: 1.219 MB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001917/0.1376, allocations: 47.88 kB / 0.6509 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.1377, allocations: 0 / 0.6509 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.153e-05/0.1378, allocations: 3.984 kB / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.1378, allocations: 3.938 kB / 0.6509 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.138, allocations: 23.94 kB / 0.651 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1381, allocations: 103.8 kB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.1382, allocations: 4 kB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.1382, allocations: 35.97 kB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.1383, allocations: 35.89 kB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1384, allocations: 4 kB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.1384, allocations: 4 kB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.1384, allocations: 27.97 kB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.1385, allocations: 35.84 kB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.499e-05/0.1386, allocations: 43.81 kB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1386, allocations: 3.938 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.956e-06/0.1386, allocations: 3.984 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1386, 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.0005678/0.1392, allocations: 407.2 kB / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1392, allocations: 11.89 kB / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.1393, allocations: 12.89 kB / 0.6517 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1394, allocations: 176.4 kB / 0.6518 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1395, allocations: 8.375 kB / 0.6518 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1395, allocations: 16.33 kB / 0.6519 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1397, allocations: 82.2 kB / 0.6519 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1397, allocations: 192 / 0.6519 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1397, allocations: 7.938 kB / 0.6519 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1397, allocations: 4 kB / 0.6519 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.1398, allocations: 51.83 kB / 0.652 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.14, allocations: 205.6 kB / 0.6522 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.1404, allocations: 138.5 kB / 0.6523 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.1405, allocations: 53.16 kB / 0.6524 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1405, allocations: 3.938 kB / 0.6524 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1405, allocations: 34.56 kB / 0.6524 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.1405, allocations: 0 / 0.6524 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0006888/0.1412, allocations: 311.3 kB / 0.6527 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1412, allocations: 51.41 kB / 0.6528 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.1413, allocations: 101.8 kB / 0.6528 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1413, allocations: 29.7 kB / 0.6529 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.1414, allocations: 90.42 kB / 0.653 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.1414, allocations: 47.59 kB / 0.653 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.1415, allocations: 41.98 kB / 0.653 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.1416, allocations: 326.8 kB / 0.6534 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.1417, allocations: 51.95 kB / 0.6534 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1418, allocations: 88.25 kB / 0.6535 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.142, allocations: 144.2 kB / 0.6536 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.142, allocations: 0 / 0.6536 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003981/0.1424, allocations: 226.6 kB / 0.6538 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1424, allocations: 11.94 kB / 0.6539 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1424, allocations: 128 / 0.6539 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.1427, allocations: 64.8 kB / 0.6539 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1428, allocations: 39.86 kB / 0.654 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.1441, allocations: 1.586 MB / 0.6555 GB, free: 6.715 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.1442, allocations: 11.92 kB / 0.6555 GB, free: 6.703 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1442, allocations: 16.05 kB / 0.6555 GB, free: 6.688 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 8.07e-05/0.1443, allocations: 128.7 kB / 0.6557 GB, free: 6.555 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.1443, allocations: 0 / 0.6557 GB, free: 6.555 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1444, allocations: 23.91 kB / 0.6557 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1444, allocations: 0 / 0.6557 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1444, allocations: 0 / 0.6557 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1444, allocations: 3.984 kB / 0.6557 GB, free: 6.531 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1446, allocations: 213.5 kB / 0.6559 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1446, allocations: 4 kB / 0.6559 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1447, allocations: 27.98 kB / 0.6559 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/0.145, allocations: 52.8 kB / 0.656 GB, free: 6.188 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.145, allocations: 11.98 kB / 0.656 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1462, allocations: 1.582 MB / 0.6575 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1462, allocations: 0 / 0.6575 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1467, allocations: 261.6 kB / 0.6578 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.1467, allocations: 85.05 kB / 0.6579 GB, free: 4.078 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1467, allocations: 7.922 kB / 0.6579 GB, free: 4.07 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.199e-05/0.1468, allocations: 8.062 kB / 0.6579 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.1468, allocations: 15.98 kB / 0.6579 GB, free: 4.047 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.1468, allocations: 3.938 kB / 0.6579 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.1469, 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.1469, allocations: 0 / 0.658 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.00022/0.1471, allocations: 28 kB / 0.658 GB, free: 3.938 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 9.745e-05/0.1472, allocations: 107.7 kB / 0.6581 GB, free: 3.82 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.1477, allocations: 266.4 kB / 0.6583 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1477, allocations: 0 / 0.6583 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.1479, allocations: 190.6 kB / 0.6585 GB, free: 3.348 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.1481, allocations: 8 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.0008322/0.149, allocations: 0.6532 MB / 0.6592 GB, free: 2.66 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1492, allocations: 0.7002 MB / 0.6599 GB, free: 1.934 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 5.936e-05/0.1492, allocations: 28.52 kB / 0.6599 GB, free: 1.906 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1493, allocations: 15.38 kB / 0.6599 GB, free: 1.891 MB / 0.4983 GB Notification: Performance of SimCode: time 2.41e-07/0.1493, allocations: 4 kB / 0.6599 GB, free: 1.887 MB / 0.4983 GB Notification: Performance of Templates: time 0.003435/0.1527, allocations: 1.338 MB / 0.6612 GB, free: 0.5977 MB / 0.4983 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches