Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 110.2 kB / 16.92 MB, free: 5.785 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.001111/0.001111, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.277/1.277, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.003/1.003, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5259, allocations: 80.69 MB / 0.5697 GB, free: 43.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002146/0.5281, allocations: 1.203 MB / 0.5709 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001776/0.5283, allocations: 37.27 kB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.5283, allocations: 0 / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.899e-05/0.5284, allocations: 3.984 kB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.167e-05/0.5285, allocations: 6.875 kB / 0.5709 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.5286, allocations: 18.77 kB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.5287, allocations: 62.73 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.5288, allocations: 6.734 kB / 0.571 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.5288, allocations: 29.67 kB / 0.5711 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.5289, allocations: 22.97 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.5289, allocations: 2.75 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.529, allocations: 2.75 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.529, allocations: 22.83 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.5291, allocations: 20.12 kB / 0.5711 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.325e-05/0.5292, allocations: 35.02 kB / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5292, allocations: 0 / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5292, allocations: 3.938 kB / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.5292, allocations: 1.375 kB / 0.5712 GB, free: 42.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004862/0.5297, allocations: 378.3 kB / 0.5715 GB, free: 41.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5297, allocations: 12.11 kB / 0.5715 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.5298, allocations: 5.062 kB / 0.5715 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.5299, allocations: 170.8 kB / 0.5717 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5299, allocations: 7.625 kB / 0.5717 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.5299, allocations: 9.875 kB / 0.5717 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5301, allocations: 77.89 kB / 0.5718 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5301, allocations: 192 / 0.5718 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.5301, allocations: 5.094 kB / 0.5718 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5302, allocations: 1.094 kB / 0.5718 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.5302, allocations: 32.31 kB / 0.5718 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.5304, allocations: 182.6 kB / 0.572 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.5305, allocations: 74.94 kB / 0.5721 GB, free: 41.35 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.5306, allocations: 31 kB / 0.5721 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.5306, allocations: 5.469 kB / 0.5721 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.5306, allocations: 32.03 kB / 0.5721 GB, free: 41.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.5306, allocations: 0 / 0.5721 GB, free: 41.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002321/0.5309, allocations: 126.8 kB / 0.5723 GB, free: 41.2 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.5309, allocations: 52.91 kB / 0.5723 GB, free: 41.14 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.5309, allocations: 101.9 kB / 0.5724 GB, free: 41.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.531, allocations: 35.08 kB / 0.5724 GB, free: 41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.531, allocations: 85.48 kB / 0.5725 GB, free: 40.91 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.531, allocations: 35.64 kB / 0.5726 GB, free: 40.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.5311, allocations: 33.86 kB / 0.5726 GB, free: 40.85 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.5311, allocations: 316.3 kB / 0.5729 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.5312, allocations: 37.59 kB / 0.5729 GB, free: 40.52 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.5313, allocations: 71.23 kB / 0.573 GB, free: 40.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.5314, allocations: 116.8 kB / 0.5731 GB, free: 40.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5314, allocations: 0 / 0.5731 GB, free: 40.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001784/0.5316, allocations: 149.6 kB / 0.5733 GB, free: 40.29 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5316, allocations: 11.88 kB / 0.5733 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5316, allocations: 5.312 kB / 0.5733 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5316, allocations: 2.562 kB / 0.5733 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.5318, allocations: 34.64 kB / 0.5733 GB, free: 40.28 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5318, allocations: 6.562 kB / 0.5733 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.5319, allocations: 14.28 kB / 0.5733 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.5319, allocations: 8.609 kB / 0.5733 GB, free: 40.26 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.5319, allocations: 114.7 kB / 0.5734 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.5319, allocations: 6.094 kB / 0.5735 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.532, allocations: 13.53 kB / 0.5735 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.532, allocations: 4 kB / 0.5735 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.532, allocations: 1.594 kB / 0.5735 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.532, allocations: 0 / 0.5735 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.952e-05/0.5321, allocations: 189.7 kB / 0.5737 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5321, allocations: 0 / 0.5737 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.5323, allocations: 27.39 kB / 0.5737 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5323, allocations: 3.938 kB / 0.5737 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5323, allocations: 2.938 kB / 0.5737 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5323, allocations: 1.125 kB / 0.5737 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5323, allocations: 0 / 0.5737 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.5325, allocations: 154.1 kB / 0.5738 GB, free: 39.78 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.5325, allocations: 82.86 kB / 0.5739 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.5326, allocations: 2.781 kB / 0.5739 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.5326, allocations: 5.594 kB / 0.5739 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.5326, allocations: 14.86 kB / 0.5739 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5326, allocations: 1.719 kB / 0.5739 GB, free: 39.66 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.114e-05/0.5327, allocations: 76.72 kB / 0.574 GB, free: 39.59 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5327, allocations: 1.469 kB / 0.574 GB, free: 39.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001935/0.5329, allocations: 20.84 kB / 0.574 GB, free: 39.58 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.509e-05/0.533, allocations: 103.5 kB / 0.5741 GB, free: 39.49 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.5331, allocations: 100.9 kB / 0.5742 GB, free: 39.45 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5332, allocations: 3.938 kB / 0.5742 GB, free: 39.44 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.5332, allocations: 32.11 kB / 0.5743 GB, free: 39.43 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.5334, allocations: 16.53 kB / 0.5743 GB, free: 39.42 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.5342, allocations: 0.6152 MB / 0.5749 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.5343, allocations: 0.6956 MB / 0.5756 GB, free: 38.19 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.5343, allocations: 28.83 kB / 0.5756 GB, free: 38.17 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.5344, allocations: 10.72 kB / 0.5756 GB, free: 38.16 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.5344, allocations: 1.25 kB / 0.5756 GB, free: 38.16 MB / 462.3 MB Notification: Performance of Templates: time 0.002571/0.537, allocations: 0.6468 MB / 0.5762 GB, free: 37.87 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches