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.001636/0.001636, allocations: 108.1 kB / 17.74 MB, free: 5.359 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.001576/0.001576, allocations: 180.8 kB / 18.66 MB, free: 4.449 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9902/0.9902, allocations: 119.3 MB / 411.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 61.44 kB / 0.5715 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1449, allocations: 80.7 MB / 0.6504 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002732/0.1477, allocations: 1.211 MB / 0.6515 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.148, allocations: 47.86 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.148, allocations: 0 / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.403e-05/0.1481, allocations: 4 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.1482, allocations: 15.92 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1484, allocations: 27.89 kB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1486, allocations: 91.84 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.1487, allocations: 11.98 kB / 0.6517 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.1487, allocations: 31.97 kB / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1489, allocations: 39.88 kB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.1489, allocations: 4 kB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.138e-05/0.1489, allocations: 8 kB / 0.6518 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.149, allocations: 19.97 kB / 0.6518 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.149, allocations: 35.86 kB / 0.6519 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.858e-05/0.1492, allocations: 47.8 kB / 0.6519 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1492, allocations: 0 / 0.6519 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.527e-06/0.1492, allocations: 0 / 0.6519 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.1492, allocations: 3.938 kB / 0.6519 GB, free: 11.46 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.0006973/0.1499, allocations: 411.4 kB / 0.6523 GB, free: 11 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1499, allocations: 11.89 kB / 0.6523 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.15, allocations: 8.844 kB / 0.6523 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1502, allocations: 172.4 kB / 0.6525 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1502, allocations: 8.375 kB / 0.6525 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.1502, allocations: 12.28 kB / 0.6525 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1504, allocations: 86.2 kB / 0.6526 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1504, allocations: 4.188 kB / 0.6526 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1504, allocations: 7.922 kB / 0.6526 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1505, allocations: 4 kB / 0.6526 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.1506, allocations: 43.91 kB / 0.6526 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.1508, allocations: 209.6 kB / 0.6528 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.1512, allocations: 130.6 kB / 0.653 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.1513, allocations: 52.98 kB / 0.653 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1513, allocations: 0 / 0.653 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1514, allocations: 38.56 kB / 0.6531 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.1514, allocations: 0 / 0.6531 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007648/0.1521, allocations: 307.3 kB / 0.6533 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1522, allocations: 51.41 kB / 0.6534 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.1523, allocations: 109.8 kB / 0.6535 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1523, allocations: 29.7 kB / 0.6535 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.1524, allocations: 82.48 kB / 0.6536 GB, free: 9.492 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.1524, allocations: 55.28 kB / 0.6537 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.1525, allocations: 41.98 kB / 0.6537 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1526, allocations: 326.8 kB / 0.654 GB, free: 9.062 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.1527, allocations: 43.97 kB / 0.6541 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1528, allocations: 98.78 kB / 0.6542 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.153, allocations: 148.2 kB / 0.6543 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.153, allocations: 0 / 0.6543 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004375/0.1535, allocations: 222.6 kB / 0.6545 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1535, allocations: 14.91 kB / 0.6545 GB, free: 8.512 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1535, allocations: 192 / 0.6545 GB, free: 8.512 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.1539, allocations: 72.84 kB / 0.6546 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.154, allocations: 39.92 kB / 0.6546 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.1555, allocations: 1.582 MB / 0.6562 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.1556, allocations: 11.97 kB / 0.6562 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1556, allocations: 4 kB / 0.6562 GB, free: 6.652 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 0.0001113/0.1557, allocations: 126.7 kB / 0.6563 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1558, allocations: 11.89 kB / 0.6563 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.1558, allocations: 15.97 kB / 0.6563 GB, free: 6.496 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1558, allocations: 0 / 0.6563 GB, free: 6.496 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1558, allocations: 3.938 kB / 0.6563 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1558, allocations: 0 / 0.6563 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.156, allocations: 209.5 kB / 0.6565 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.156, allocations: 0 / 0.6565 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.1562, allocations: 27.98 kB / 0.6566 GB, free: 6.211 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/0.1565, allocations: 60.8 kB / 0.6566 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1565, allocations: 4 kB / 0.6566 GB, free: 6.145 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.1579, allocations: 1.59 MB / 0.6582 GB, free: 4.418 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1579, allocations: 0 / 0.6582 GB, free: 4.418 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.1584, allocations: 265.7 kB / 0.6584 GB, free: 4.137 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.1584, allocations: 89 kB / 0.6585 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1585, allocations: 4 kB / 0.6585 GB, free: 4.027 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.1585, allocations: 4 kB / 0.6585 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1586, allocations: 11.98 kB / 0.6585 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1586, allocations: 7.938 kB / 0.6585 GB, free: 4.004 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.1586, allocations: 83.27 kB / 0.6586 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1586, allocations: 4 kB / 0.6586 GB, free: 3.918 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003562/0.159, allocations: 28 kB / 0.6587 GB, free: 3.891 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.0001563/0.1592, allocations: 103.7 kB / 0.6588 GB, free: 3.777 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.1597, allocations: 262.5 kB / 0.659 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1597, allocations: 4.188 kB / 0.659 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.16, allocations: 194.7 kB / 0.6592 GB, free: 3.301 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.1602, allocations: 0 / 0.6592 GB, free: 3.301 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009683/0.1612, allocations: 0.6747 MB / 0.6599 GB, free: 2.594 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1615, allocations: 0.7118 MB / 0.6605 GB, free: 1.855 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1616, allocations: 11.44 kB / 0.6606 GB, free: 1.844 MB / 0.4983 GB Notification: Performance of SimCode: time 3.71e-07/0.1616, allocations: 3.938 kB / 0.6606 GB, free: 1.84 MB / 0.4983 GB Notification: Performance of Templates: time 0.003455/0.165, allocations: 1.452 MB / 0.662 GB, free: 400 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches