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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 106.2 kB / 16.62 MB, free: 6.758 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.001207/0.001208, allocations: 193.8 kB / 17.55 MB, free: 5.93 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.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.075/1.075, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.4905 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5368, allocations: 80.68 MB / 0.5693 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002066/0.5389, allocations: 1.258 MB / 0.5706 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004253/0.5394, allocations: 32.77 kB / 0.5706 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.5394, allocations: 5.156 kB / 0.5706 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.967e-05/0.5395, allocations: 3.984 kB / 0.5706 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.5396, allocations: 6.25 kB / 0.5706 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.5398, allocations: 11.36 kB / 0.5706 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.5399, allocations: 74.92 kB / 0.5707 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.5399, allocations: 2.688 kB / 0.5707 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.54, allocations: 33.84 kB / 0.5707 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.54, allocations: 23.31 kB / 0.5708 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.5401, allocations: 2.688 kB / 0.5708 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.5401, allocations: 2.844 kB / 0.5708 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.5402, allocations: 25.83 kB / 0.5708 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.5402, allocations: 23.86 kB / 0.5708 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.759e-05/0.5403, allocations: 31.53 kB / 0.5708 GB, free: 42.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5403, allocations: 7.984 kB / 0.5708 GB, free: 42.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5403, allocations: 0 / 0.5708 GB, free: 42.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.5403, allocations: 0 / 0.5708 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.0004378/0.5408, allocations: 374.5 kB / 0.5712 GB, free: 41.97 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5408, allocations: 10.66 kB / 0.5712 GB, free: 41.97 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.5409, allocations: 39.23 kB / 0.5713 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.5409, allocations: 5.188 kB / 0.5713 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.5411, allocations: 170.4 kB / 0.5714 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.5411, allocations: 6.969 kB / 0.5714 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.5411, allocations: 9.906 kB / 0.5714 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.5412, allocations: 73.89 kB / 0.5715 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5413, allocations: 5.062 kB / 0.5715 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.5413, allocations: 0 / 0.5715 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5413, allocations: 5.438 kB / 0.5715 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.5414, allocations: 33.19 kB / 0.5715 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.5415, allocations: 182.5 kB / 0.5717 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.783e-05/0.5416, allocations: 69.77 kB / 0.5718 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.5417, allocations: 32.25 kB / 0.5718 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.5417, allocations: 1.375 kB / 0.5718 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.5417, allocations: 35.88 kB / 0.5719 GB, free: 41.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.5417, allocations: 4 kB / 0.5719 GB, free: 41.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002655/0.542, allocations: 118.7 kB / 0.572 GB, free: 41.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.542, allocations: 52.5 kB / 0.572 GB, free: 41.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.5421, allocations: 102.1 kB / 0.5721 GB, free: 41.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.5421, allocations: 26.73 kB / 0.5721 GB, free: 41.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.5421, allocations: 85.22 kB / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.5421, allocations: 41.14 kB / 0.5723 GB, free: 40.92 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.5422, allocations: 33.3 kB / 0.5723 GB, free: 40.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.5422, allocations: 320.2 kB / 0.5726 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.163e-05/0.5423, allocations: 37.16 kB / 0.5726 GB, free: 40.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.5423, allocations: 70.52 kB / 0.5727 GB, free: 40.5 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.5425, allocations: 120.9 kB / 0.5728 GB, free: 40.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5425, allocations: 1.375 kB / 0.5728 GB, free: 40.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002127/0.5427, allocations: 148.6 kB / 0.573 GB, free: 40.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5427, allocations: 5.938 kB / 0.573 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5427, allocations: 5.453 kB / 0.573 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5427, allocations: 1.344 kB / 0.573 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.5429, allocations: 39.27 kB / 0.573 GB, free: 40.31 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.543, allocations: 10.67 kB / 0.573 GB, free: 40.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.5431, allocations: 11.59 kB / 0.573 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.5431, allocations: 3.875 kB / 0.573 GB, free: 40.29 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 0.0001149/0.5432, allocations: 119.2 kB / 0.5732 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.5432, allocations: 5.344 kB / 0.5732 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.5433, allocations: 13.44 kB / 0.5732 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5433, allocations: 0 / 0.5732 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5433, allocations: 1.469 kB / 0.5732 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5433, allocations: 3.938 kB / 0.5732 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.193e-05/0.5434, allocations: 190 kB / 0.5734 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5434, allocations: 0 / 0.5734 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.5436, allocations: 31.92 kB / 0.5734 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.5436, allocations: 3.984 kB / 0.5734 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.5437, allocations: 3 kB / 0.5734 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5437, allocations: 0 / 0.5734 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5437, allocations: 1.531 kB / 0.5734 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.5439, allocations: 155.2 kB / 0.5735 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.5439, allocations: 82.45 kB / 0.5736 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5439, allocations: 3.438 kB / 0.5736 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.544, allocations: 1.281 kB / 0.5736 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.544, allocations: 14.98 kB / 0.5736 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.544, allocations: 5.062 kB / 0.5736 GB, free: 39.69 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.649e-05/0.544, allocations: 78.22 kB / 0.5737 GB, free: 39.62 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.544, allocations: 0 / 0.5737 GB, free: 39.62 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000189/0.5442, allocations: 17.47 kB / 0.5737 GB, free: 39.61 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 0.0003803/0.5446, allocations: 0.6926 MB / 0.5744 GB, free: 38.96 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.5448, allocations: 91.08 kB / 0.5745 GB, free: 38.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5448, allocations: 0 / 0.5745 GB, free: 38.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.5448, allocations: 37.38 kB / 0.5745 GB, free: 38.91 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.545, allocations: 6.844 kB / 0.5745 GB, free: 38.91 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.5465, allocations: 1.964 MB / 0.5765 GB, free: 37.17 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.5468, allocations: 0.6921 MB / 0.5771 GB, free: 36.47 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000113/0.5469, allocations: 32.47 kB / 0.5772 GB, free: 36.45 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.547, allocations: 20.16 kB / 0.5772 GB, free: 36.43 MB / 462.3 MB Notification: Performance of SimCode: time 3.41e-07/0.547, allocations: 3.938 kB / 0.5772 GB, free: 36.43 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.561, allocations: 1.889 MB / 0.579 GB, free: 35.57 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.5612, allocations: 250.5 kB / 0.5793 GB, free: 35.32 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.501, allocations: 0 / 0.5793 GB, free: 35.32 MB / 462.3 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck.fmu > 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