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.001291/0.001291, allocations: 103 kB / 16.51 MB, free: 6.645 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.00127/0.00127, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 410.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 68.09 kB / 0.4903 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5708, allocations: 80.67 MB / 0.569 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002456/0.5733, allocations: 1.279 MB / 0.5703 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002057/0.5735, allocations: 47.88 kB / 0.5703 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.5736, allocations: 4 kB / 0.5703 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.5737, allocations: 0 / 0.5703 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.59e-05/0.5738, allocations: 15.28 kB / 0.5703 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.574, allocations: 16.67 kB / 0.5704 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.5741, allocations: 126.8 kB / 0.5705 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.5742, allocations: 2.5 kB / 0.5705 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.5743, allocations: 40.33 kB / 0.5705 GB, free: 42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.5744, allocations: 34.22 kB / 0.5706 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.5744, allocations: 4.469 kB / 0.5706 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.5744, allocations: 8.5 kB / 0.5706 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.5745, allocations: 32.56 kB / 0.5706 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.5746, allocations: 30.28 kB / 0.5706 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.319e-05/0.5747, allocations: 47.27 kB / 0.5707 GB, free: 41.91 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5747, allocations: 0 / 0.5707 GB, free: 41.91 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5747, allocations: 0 / 0.5707 GB, free: 41.91 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.5747, allocations: 0 / 0.5707 GB, free: 41.91 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.0006255/0.5753, allocations: 409.4 kB / 0.5711 GB, free: 41.51 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5754, allocations: 10.41 kB / 0.5711 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.5754, allocations: 3.75 kB / 0.5711 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.5756, allocations: 181.3 kB / 0.5713 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.5756, allocations: 7.609 kB / 0.5713 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.5757, allocations: 11.62 kB / 0.5713 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.5758, allocations: 89.67 kB / 0.5714 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5759, allocations: 5.344 kB / 0.5714 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.5759, allocations: 5 kB / 0.5714 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5759, allocations: 5.125 kB / 0.5714 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.699e-05/0.576, allocations: 49.11 kB / 0.5714 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.5762, allocations: 208.1 kB / 0.5716 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.5766, allocations: 131.5 kB / 0.5717 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.5767, allocations: 49.52 kB / 0.5718 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5767, allocations: 9.406 kB / 0.5718 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.5768, allocations: 31.62 kB / 0.5718 GB, free: 40.83 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.5768, allocations: 0 / 0.5718 GB, free: 40.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007546/0.5775, allocations: 312.7 kB / 0.5721 GB, free: 40.6 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.5776, allocations: 56.78 kB / 0.5722 GB, free: 40.54 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.5776, allocations: 103.2 kB / 0.5723 GB, free: 40.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5777, allocations: 25.7 kB / 0.5723 GB, free: 40.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.5777, allocations: 86.39 kB / 0.5724 GB, free: 40.31 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.5777, allocations: 56.12 kB / 0.5724 GB, free: 40.26 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.5778, allocations: 36.7 kB / 0.5725 GB, free: 40.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.5779, allocations: 320.8 kB / 0.5728 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.578, allocations: 61.44 kB / 0.5728 GB, free: 39.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.5781, allocations: 90.53 kB / 0.5729 GB, free: 39.82 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.5783, allocations: 139.3 kB / 0.5731 GB, free: 39.73 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5783, allocations: 4 kB / 0.5731 GB, free: 39.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004154/0.5787, allocations: 229.9 kB / 0.5733 GB, free: 39.6 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5787, allocations: 13.34 kB / 0.5733 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5787, allocations: 1.375 kB / 0.5733 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.5791, allocations: 60.55 kB / 0.5734 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5792, allocations: 35.48 kB / 0.5734 GB, free: 39.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.5805, allocations: 1.468 MB / 0.5748 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.866e-05/0.5806, allocations: 10.56 kB / 0.5748 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5806, allocations: 5.375 kB / 0.5748 GB, free: 38.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 8.476e-05/0.5807, allocations: 132.3 kB / 0.575 GB, free: 37.98 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.5807, allocations: 6.594 kB / 0.575 GB, free: 37.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.5807, allocations: 15.97 kB / 0.575 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.5807, allocations: 1.562 kB / 0.575 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5808, allocations: 1.531 kB / 0.575 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5808, allocations: 0 / 0.575 GB, free: 37.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.5809, allocations: 208 kB / 0.5752 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5809, allocations: 0 / 0.5752 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.5811, allocations: 30.55 kB / 0.5752 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/0.5813, allocations: 60.05 kB / 0.5753 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.5814, allocations: 10.45 kB / 0.5753 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.5824, allocations: 1.468 MB / 0.5767 GB, free: 36.26 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5824, allocations: 0 / 0.5767 GB, free: 36.26 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.5829, allocations: 262.2 kB / 0.577 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.5829, allocations: 90.61 kB / 0.5771 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5829, allocations: 4.5 kB / 0.5771 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.193e-05/0.583, allocations: 4 kB / 0.5771 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.583, allocations: 8.547 kB / 0.5771 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.583, allocations: 6.859 kB / 0.5771 GB, free: 35.98 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.495e-05/0.5831, allocations: 77.06 kB / 0.5771 GB, free: 35.9 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5831, allocations: 1.312 kB / 0.5771 GB, free: 35.9 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002484/0.5833, allocations: 31.19 kB / 0.5772 GB, free: 35.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 0.000113/0.5834, allocations: 107.8 kB / 0.5773 GB, free: 35.79 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.584, allocations: 256.7 kB / 0.5775 GB, free: 35.62 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.584, allocations: 0 / 0.5775 GB, free: 35.62 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.5843, allocations: 188.7 kB / 0.5777 GB, free: 35.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.5845, allocations: 24.45 kB / 0.5777 GB, free: 35.46 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.5854, allocations: 0.6761 MB / 0.5784 GB, free: 34.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.5855, allocations: 0.7012 MB / 0.5791 GB, free: 34.18 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.384e-05/0.5856, allocations: 28.95 kB / 0.5791 GB, free: 34.17 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.5856, allocations: 11.94 kB / 0.5791 GB, free: 34.16 MB / 462.3 MB Notification: Performance of SimCode: time 2.9e-07/0.5856, allocations: 0 / 0.5791 GB, free: 34.16 MB / 462.3 MB Notification: Performance of Templates: time 0.003774/0.5894, allocations: 1.282 MB / 0.5804 GB, free: 33.55 MB / 462.3 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/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