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.001468/0.001469, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001311/0.001311, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.287/1.287, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9236/0.9236, allocations: 119.3 MB / 411.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.4916 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.5233, allocations: 80.69 MB / 0.5704 GB, free: 43.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002003/0.5254, allocations: 1.205 MB / 0.5716 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.5255, allocations: 32.19 kB / 0.5716 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.5256, allocations: 5.312 kB / 0.5716 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.074e-05/0.5257, allocations: 0 / 0.5716 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.547e-05/0.5257, allocations: 5.375 kB / 0.5716 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.5259, allocations: 24.02 kB / 0.5716 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.526, allocations: 67.62 kB / 0.5717 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.5261, allocations: 1.375 kB / 0.5717 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.5261, allocations: 29.66 kB / 0.5717 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.5262, allocations: 26.97 kB / 0.5717 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.5262, allocations: 3.5 kB / 0.5717 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.5262, allocations: 2 kB / 0.5718 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.5263, allocations: 18.66 kB / 0.5718 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.5263, allocations: 28.8 kB / 0.5718 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.741e-05/0.5264, allocations: 31.22 kB / 0.5718 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5264, allocations: 0 / 0.5718 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5264, allocations: 0 / 0.5718 GB, free: 42.19 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.5264, allocations: 0 / 0.5718 GB, free: 42.19 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.000434/0.5268, allocations: 374.1 kB / 0.5722 GB, free: 41.81 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5269, allocations: 14.11 kB / 0.5722 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.5269, allocations: 7.188 kB / 0.5722 GB, free: 41.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.527, allocations: 172.7 kB / 0.5724 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.5271, allocations: 6.812 kB / 0.5724 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.5271, allocations: 13.53 kB / 0.5724 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.5272, allocations: 72.7 kB / 0.5725 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5272, allocations: 1.25 kB / 0.5725 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5273, allocations: 5.125 kB / 0.5725 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5273, allocations: 1.094 kB / 0.5725 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.5273, allocations: 32.44 kB / 0.5725 GB, free: 41.51 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.5275, allocations: 183.1 kB / 0.5727 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.5276, allocations: 70.7 kB / 0.5727 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.5277, allocations: 31.09 kB / 0.5728 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.5277, allocations: 5.219 kB / 0.5728 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.171e-05/0.5277, allocations: 31.78 kB / 0.5728 GB, free: 41.19 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.5277, allocations: 0 / 0.5728 GB, free: 41.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002167/0.5279, allocations: 120 kB / 0.5729 GB, free: 41.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.5279, allocations: 55.41 kB / 0.573 GB, free: 41.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.528, allocations: 110.7 kB / 0.5731 GB, free: 40.94 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.528, allocations: 27.02 kB / 0.5731 GB, free: 40.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.528, allocations: 85.48 kB / 0.5732 GB, free: 40.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.5281, allocations: 31.55 kB / 0.5732 GB, free: 40.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.5281, allocations: 28.97 kB / 0.5732 GB, free: 40.77 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.5282, allocations: 321.9 kB / 0.5735 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.5282, allocations: 37.12 kB / 0.5736 GB, free: 40.43 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.5283, allocations: 79.78 kB / 0.5737 GB, free: 40.37 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.5284, allocations: 113.1 kB / 0.5738 GB, free: 40.29 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5284, allocations: 4 kB / 0.5738 GB, free: 40.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001814/0.5286, allocations: 145.4 kB / 0.5739 GB, free: 40.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5287, allocations: 12.12 kB / 0.5739 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5287, allocations: 1.312 kB / 0.5739 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5287, allocations: 5.766 kB / 0.5739 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.5288, allocations: 35.33 kB / 0.574 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5288, allocations: 3.109 kB / 0.574 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.5289, allocations: 10.66 kB / 0.574 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.5289, allocations: 8.125 kB / 0.574 GB, free: 40.18 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.197e-05/0.529, allocations: 127.1 kB / 0.5741 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.529, allocations: 9.156 kB / 0.5741 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.529, allocations: 13.08 kB / 0.5741 GB, free: 40.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.529, allocations: 1.188 kB / 0.5741 GB, free: 40.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.529, allocations: 1.531 kB / 0.5741 GB, free: 40.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.529, allocations: 0 / 0.5741 GB, free: 40.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.848e-05/0.5291, allocations: 181.7 kB / 0.5743 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5291, allocations: 0 / 0.5743 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.5293, allocations: 26.64 kB / 0.5743 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5293, allocations: 9.844 kB / 0.5743 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.5293, allocations: 10.52 kB / 0.5743 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5293, allocations: 0 / 0.5743 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5293, allocations: 1.406 kB / 0.5743 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.5295, allocations: 153.2 kB / 0.5745 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.5296, allocations: 82.33 kB / 0.5746 GB, free: 39.58 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.5296, allocations: 10.48 kB / 0.5746 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.5296, allocations: 6.375 kB / 0.5746 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.5297, allocations: 6.688 kB / 0.5746 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.5297, allocations: 5.234 kB / 0.5746 GB, free: 39.56 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.913e-05/0.5297, allocations: 77.84 kB / 0.5747 GB, free: 39.49 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5297, allocations: 0 / 0.5747 GB, free: 39.49 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001941/0.5299, allocations: 17.69 kB / 0.5747 GB, free: 39.48 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.101e-05/0.53, allocations: 100.1 kB / 0.5748 GB, free: 39.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.5302, allocations: 103.6 kB / 0.5749 GB, free: 39.35 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5302, allocations: 5.375 kB / 0.5749 GB, free: 39.34 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.5302, allocations: 36.84 kB / 0.5749 GB, free: 39.33 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.5304, allocations: 10.78 kB / 0.5749 GB, free: 39.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.5311, allocations: 0.6344 MB / 0.5756 GB, free: 38.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.5313, allocations: 0.6931 MB / 0.5762 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.5313, allocations: 11.53 kB / 0.5762 GB, free: 38.06 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.5313, allocations: 0 / 0.5762 GB, free: 38.06 MB / 462.3 MB Notification: Performance of Templates: time 0.002127/0.5334, allocations: 0.9865 MB / 0.5772 GB, free: 37.56 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches