Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001281/0.001281, allocations: 110.3 kB / 17.16 MB, free: 6.324 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.001314/0.001314, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.406/1.406, allocations: 222.9 MB / 241.8 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.087/1.087, allocations: 119.3 MB / 411.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.89 kB / 0.4909 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6289, allocations: 80.68 MB / 0.5697 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002311/0.6312, allocations: 1.269 MB / 0.5709 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000175/0.6314, allocations: 34.03 kB / 0.571 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.6315, allocations: 0 / 0.571 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.733e-05/0.6316, allocations: 9.016 kB / 0.571 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.6316, allocations: 1.125 kB / 0.571 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.6318, allocations: 16.36 kB / 0.571 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.6319, allocations: 87.27 kB / 0.5711 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.632, allocations: 1.5 kB / 0.5711 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.632, allocations: 26.27 kB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.6321, allocations: 31.7 kB / 0.5711 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.6321, allocations: 3.125 kB / 0.5711 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.6322, allocations: 2.094 kB / 0.5711 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.6322, allocations: 15.95 kB / 0.5711 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.6323, allocations: 27.16 kB / 0.5712 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.766e-05/0.6323, allocations: 28.5 kB / 0.5712 GB, free: 41.79 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6324, allocations: 0 / 0.5712 GB, free: 41.79 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.02e-07/0.6324, allocations: 0 / 0.5712 GB, free: 41.79 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.6324, allocations: 1.469 kB / 0.5712 GB, free: 41.79 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.0004838/0.6329, allocations: 373.6 kB / 0.5716 GB, free: 41.41 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.6329, allocations: 9 kB / 0.5716 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.6329, allocations: 8.5 kB / 0.5716 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.6331, allocations: 175.7 kB / 0.5717 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.6331, allocations: 2.531 kB / 0.5717 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.6331, allocations: 13.88 kB / 0.5718 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.6333, allocations: 67.84 kB / 0.5718 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6333, allocations: 5.375 kB / 0.5718 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6333, allocations: 7.938 kB / 0.5718 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6333, allocations: 1.062 kB / 0.5718 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.299e-05/0.6334, allocations: 33.62 kB / 0.5719 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.6336, allocations: 178 kB / 0.572 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.6337, allocations: 74.97 kB / 0.5721 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.6337, allocations: 31.16 kB / 0.5721 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.6338, allocations: 1.094 kB / 0.5721 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.6338, allocations: 39.69 kB / 0.5722 GB, free: 40.79 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.6338, allocations: 1.094 kB / 0.5722 GB, free: 40.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002402/0.634, allocations: 114.3 kB / 0.5723 GB, free: 40.72 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.6341, allocations: 52.38 kB / 0.5723 GB, free: 40.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.6341, allocations: 106.3 kB / 0.5724 GB, free: 40.55 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.6342, allocations: 31.2 kB / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.6342, allocations: 81.48 kB / 0.5725 GB, free: 40.43 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.6342, allocations: 32.2 kB / 0.5726 GB, free: 40.41 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.6343, allocations: 40.73 kB / 0.5726 GB, free: 40.37 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.6343, allocations: 313.1 kB / 0.5729 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.6344, allocations: 41.22 kB / 0.5729 GB, free: 40.04 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.6345, allocations: 70.7 kB / 0.573 GB, free: 39.98 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.6346, allocations: 116.5 kB / 0.5731 GB, free: 39.9 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6346, allocations: 1.156 kB / 0.5731 GB, free: 39.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002011/0.6348, allocations: 152.6 kB / 0.5733 GB, free: 39.81 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6349, allocations: 9.312 kB / 0.5733 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6349, allocations: 1.469 kB / 0.5733 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.6349, allocations: 6.75 kB / 0.5733 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.6351, allocations: 34.8 kB / 0.5733 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6351, allocations: 1.562 kB / 0.5733 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.6351, allocations: 15.88 kB / 0.5733 GB, free: 39.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.6351, allocations: 4.656 kB / 0.5733 GB, free: 39.78 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 6.264e-05/0.6352, allocations: 118.9 kB / 0.5735 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.6352, allocations: 5.844 kB / 0.5735 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.6353, allocations: 11.95 kB / 0.5735 GB, free: 39.64 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.6353, allocations: 5.25 kB / 0.5735 GB, free: 39.64 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6353, allocations: 5.656 kB / 0.5735 GB, free: 39.63 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6353, allocations: 0 / 0.5735 GB, free: 39.63 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.6354, allocations: 181.1 kB / 0.5737 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6354, allocations: 5.344 kB / 0.5737 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.6356, allocations: 33.39 kB / 0.5737 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6356, allocations: 5.375 kB / 0.5737 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.6356, allocations: 2.719 kB / 0.5737 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6356, allocations: 1.625 kB / 0.5737 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6356, allocations: 0 / 0.5737 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.6359, allocations: 154 kB / 0.5739 GB, free: 39.29 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.6359, allocations: 90.41 kB / 0.5739 GB, free: 39.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.6359, allocations: 6.688 kB / 0.5739 GB, free: 39.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.636, allocations: 5.312 kB / 0.5739 GB, free: 39.18 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.636, allocations: 6.734 kB / 0.574 GB, free: 39.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-06/0.636, allocations: 2.75 kB / 0.574 GB, free: 39.17 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.636, allocations: 80.66 kB / 0.574 GB, free: 39.09 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.636, allocations: 0 / 0.574 GB, free: 39.09 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001991/0.6362, allocations: 13.75 kB / 0.574 GB, free: 39.09 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 9.326e-05/0.6363, allocations: 111.7 kB / 0.5742 GB, free: 38.99 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.6365, allocations: 82.77 kB / 0.5742 GB, free: 38.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6365, allocations: 1.375 kB / 0.5742 GB, free: 38.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.6366, allocations: 36.55 kB / 0.5743 GB, free: 38.95 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.6368, allocations: 6.688 kB / 0.5743 GB, free: 38.94 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.6376, allocations: 0.6489 MB / 0.5749 GB, free: 38.38 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.6377, allocations: 0.6937 MB / 0.5756 GB, free: 37.67 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.6378, allocations: 12.28 kB / 0.5756 GB, free: 37.66 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.6378, allocations: 0 / 0.5756 GB, free: 37.66 MB / 462.3 MB Notification: Performance of Templates: time 0.00231/0.6401, allocations: 0.9742 MB / 0.5766 GB, free: 37.18 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches