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.001335/0.001335, allocations: 110.5 kB / 16.51 MB, free: 6.707 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.001464/0.001464, allocations: 194.8 kB / 17.43 MB, free: 6.062 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9881/0.9881, allocations: 119.3 MB / 410.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.84 kB / 0.4903 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.5188, allocations: 80.68 MB / 0.569 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002512/0.5214, allocations: 1.271 MB / 0.5703 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.5215, allocations: 33.52 kB / 0.5703 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.5216, allocations: 0 / 0.5703 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.594e-05/0.5217, allocations: 3.938 kB / 0.5703 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.5217, allocations: 14.72 kB / 0.5703 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.5219, allocations: 12.11 kB / 0.5703 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.5221, allocations: 82.69 kB / 0.5704 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.5221, allocations: 6.312 kB / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.5222, allocations: 24.89 kB / 0.5705 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.5222, allocations: 31.86 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.5223, allocations: 3.312 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.5223, allocations: 2.312 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.5223, allocations: 19.48 kB / 0.5705 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.5224, allocations: 19.7 kB / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.259e-05/0.5225, allocations: 38.53 kB / 0.5706 GB, free: 42.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5225, allocations: 1.062 kB / 0.5706 GB, free: 42.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.01e-07/0.5225, allocations: 0 / 0.5706 GB, free: 42.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.5225, allocations: 0 / 0.5706 GB, free: 42.36 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.0005022/0.523, allocations: 374.6 kB / 0.5709 GB, free: 41.98 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.523, allocations: 9.656 kB / 0.5709 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.5231, allocations: 4.25 kB / 0.5709 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5232, allocations: 175.3 kB / 0.5711 GB, free: 41.78 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.5232, allocations: 7.5 kB / 0.5711 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.5233, allocations: 12.97 kB / 0.5711 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.5234, allocations: 72.66 kB / 0.5712 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5234, allocations: 1.531 kB / 0.5712 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5234, allocations: 7.922 kB / 0.5712 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5235, allocations: 1.375 kB / 0.5712 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.5235, allocations: 37.03 kB / 0.5712 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.5237, allocations: 174.5 kB / 0.5714 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.5238, allocations: 74.62 kB / 0.5715 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.5239, allocations: 35.03 kB / 0.5715 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.5239, allocations: 1.375 kB / 0.5715 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.5239, allocations: 31.72 kB / 0.5715 GB, free: 41.37 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.5239, allocations: 0 / 0.5715 GB, free: 41.37 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002281/0.5241, allocations: 123.9 kB / 0.5717 GB, free: 41.29 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.5242, allocations: 55.34 kB / 0.5717 GB, free: 41.22 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.911e-05/0.5242, allocations: 103.6 kB / 0.5718 GB, free: 41.12 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.5242, allocations: 25.7 kB / 0.5718 GB, free: 41.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.5243, allocations: 89.3 kB / 0.5719 GB, free: 41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.5243, allocations: 35.45 kB / 0.572 GB, free: 40.96 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.5244, allocations: 35.17 kB / 0.572 GB, free: 40.94 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.5244, allocations: 316.3 kB / 0.5723 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.5245, allocations: 36.41 kB / 0.5723 GB, free: 40.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.982e-05/0.5246, allocations: 71.23 kB / 0.5724 GB, free: 40.55 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.5247, allocations: 121.4 kB / 0.5725 GB, free: 40.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5247, allocations: 0 / 0.5725 GB, free: 40.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001889/0.5249, allocations: 152.8 kB / 0.5727 GB, free: 40.37 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5249, allocations: 10.09 kB / 0.5727 GB, free: 40.37 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5249, allocations: 5.531 kB / 0.5727 GB, free: 40.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.5249, allocations: 1.219 kB / 0.5727 GB, free: 40.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.5251, allocations: 39.45 kB / 0.5727 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5251, allocations: 1.875 kB / 0.5727 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.5252, allocations: 15.19 kB / 0.5727 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.5252, allocations: 4.906 kB / 0.5727 GB, free: 40.34 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.748e-05/0.5253, allocations: 118.2 kB / 0.5728 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.5253, allocations: 6.469 kB / 0.5729 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.5253, allocations: 17.34 kB / 0.5729 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5253, allocations: 0 / 0.5729 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5253, allocations: 5.438 kB / 0.5729 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5254, allocations: 0 / 0.5729 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.5255, allocations: 182.1 kB / 0.573 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5255, allocations: 0 / 0.573 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.5257, allocations: 26.86 kB / 0.5731 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5257, allocations: 3.938 kB / 0.5731 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5257, allocations: 7.75 kB / 0.5731 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5257, allocations: 0 / 0.5731 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5257, allocations: 1.062 kB / 0.5731 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.5259, allocations: 149.6 kB / 0.5732 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.5259, allocations: 90.12 kB / 0.5733 GB, free: 39.75 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.526, allocations: 3.438 kB / 0.5733 GB, free: 39.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.526, allocations: 5.156 kB / 0.5733 GB, free: 39.75 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.526, allocations: 9.984 kB / 0.5733 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.5261, allocations: 2.281 kB / 0.5733 GB, free: 39.74 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.221e-05/0.5261, allocations: 77.59 kB / 0.5734 GB, free: 39.67 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5261, allocations: 4.938 kB / 0.5734 GB, free: 39.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002073/0.5263, allocations: 16.81 kB / 0.5734 GB, free: 39.66 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.896e-05/0.5264, allocations: 103.7 kB / 0.5735 GB, free: 39.57 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.5266, allocations: 88.39 kB / 0.5736 GB, free: 39.53 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5266, allocations: 0 / 0.5736 GB, free: 39.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.789e-05/0.5266, allocations: 32.17 kB / 0.5736 GB, free: 39.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.5268, allocations: 14.94 kB / 0.5737 GB, free: 39.51 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.5277, allocations: 0.6224 MB / 0.5743 GB, free: 38.97 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.5278, allocations: 0.6926 MB / 0.5749 GB, free: 38.27 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.5279, allocations: 32.41 kB / 0.575 GB, free: 38.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.5279, allocations: 11.34 kB / 0.575 GB, free: 38.24 MB / 462.3 MB Notification: Performance of SimCode: time 1.503e-06/0.5279, allocations: 1.375 kB / 0.575 GB, free: 38.24 MB / 462.3 MB Notification: Performance of Templates: time 0.002585/0.5305, allocations: 0.6425 MB / 0.5756 GB, free: 37.95 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches