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.001531/0.001531, allocations: 112.2 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.001627/0.001627, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.494/1.494, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.235/1.235, allocations: 119.3 MB / 410.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001712, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7298, allocations: 80.68 MB / 0.5692 GB, free: 43.56 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.003031/0.7329, allocations: 1.262 MB / 0.5704 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003205/0.7332, allocations: 41.31 kB / 0.5704 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.7333, allocations: 0.9688 kB / 0.5704 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.7334, allocations: 0 / 0.5704 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.7335, allocations: 2.75 kB / 0.5704 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.7336, allocations: 23.83 kB / 0.5705 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.7338, allocations: 75.11 kB / 0.5705 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.7338, allocations: 9.875 kB / 0.5705 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.7339, allocations: 28.91 kB / 0.5706 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.734, allocations: 28.47 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.734, allocations: 2.25 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.734, allocations: 3.344 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.7341, allocations: 22.62 kB / 0.5706 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.7342, allocations: 20.95 kB / 0.5706 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.218e-05/0.7343, allocations: 29.94 kB / 0.5707 GB, free: 42.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7343, allocations: 0 / 0.5707 GB, free: 42.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7343, allocations: 1.312 kB / 0.5707 GB, free: 42.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.7343, allocations: 4 kB / 0.5707 GB, free: 42.4 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.0004809/0.7348, allocations: 373.8 kB / 0.571 GB, free: 42.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.7348, allocations: 10.19 kB / 0.571 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.7349, allocations: 36.16 kB / 0.5711 GB, free: 41.97 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.7349, allocations: 3.469 kB / 0.5711 GB, free: 41.97 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.7351, allocations: 171.9 kB / 0.5712 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.7351, allocations: 10.94 kB / 0.5712 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.7352, allocations: 21.7 kB / 0.5713 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.7355, allocations: 75.59 kB / 0.5713 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.7355, allocations: 5.188 kB / 0.5713 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.7356, allocations: 1.219 kB / 0.5713 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.7356, allocations: 0 / 0.5713 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.7358, allocations: 29.53 kB / 0.5714 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.736, allocations: 178.3 kB / 0.5715 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.7361, allocations: 82.62 kB / 0.5716 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.7362, allocations: 31.47 kB / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.7362, allocations: 1.281 kB / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.7362, allocations: 35.91 kB / 0.5717 GB, free: 41.35 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.7362, allocations: 0 / 0.5717 GB, free: 41.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003417/0.7366, allocations: 123.9 kB / 0.5718 GB, free: 41.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.7366, allocations: 51.41 kB / 0.5719 GB, free: 41.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.7367, allocations: 103.1 kB / 0.572 GB, free: 41.1 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.7367, allocations: 35.02 kB / 0.572 GB, free: 41.06 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.7367, allocations: 80.14 kB / 0.5721 GB, free: 40.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.7368, allocations: 36.2 kB / 0.5721 GB, free: 40.95 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.7368, allocations: 37.77 kB / 0.5721 GB, free: 40.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.7369, allocations: 317.5 kB / 0.5724 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.737, allocations: 36.53 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.737, allocations: 75.3 kB / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.7372, allocations: 112.7 kB / 0.5727 GB, free: 40.45 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7372, allocations: 0 / 0.5727 GB, free: 40.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002555/0.7375, allocations: 161 kB / 0.5728 GB, free: 40.35 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.7375, allocations: 6.312 kB / 0.5728 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7375, allocations: 1.281 kB / 0.5728 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7375, allocations: 1.156 kB / 0.5728 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.7377, allocations: 32.3 kB / 0.5728 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.7377, allocations: 1.062 kB / 0.5728 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.7378, allocations: 15.28 kB / 0.5729 GB, free: 40.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.7378, allocations: 4.312 kB / 0.5729 GB, free: 40.33 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 7.575e-05/0.7379, allocations: 122.4 kB / 0.573 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.7379, allocations: 10.28 kB / 0.573 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.738, allocations: 12.91 kB / 0.573 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.738, allocations: 1.062 kB / 0.573 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.738, allocations: 1.188 kB / 0.573 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.738, allocations: 0 / 0.573 GB, free: 40.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.7381, allocations: 181.8 kB / 0.5732 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7381, allocations: 5.203 kB / 0.5732 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.7383, allocations: 30.33 kB / 0.5732 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7383, allocations: 0 / 0.5732 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.7383, allocations: 3.688 kB / 0.5732 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7383, allocations: 4 kB / 0.5732 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7383, allocations: 1.344 kB / 0.5732 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.7386, allocations: 156.8 kB / 0.5734 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.7386, allocations: 82.97 kB / 0.5735 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.7387, allocations: 7.531 kB / 0.5735 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.7387, allocations: 1.594 kB / 0.5735 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.7387, allocations: 5.484 kB / 0.5735 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.7388, allocations: 7.25 kB / 0.5735 GB, free: 39.73 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.301e-05/0.7388, allocations: 80.94 kB / 0.5736 GB, free: 39.65 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7388, allocations: 3.938 kB / 0.5736 GB, free: 39.65 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001987/0.739, allocations: 18.06 kB / 0.5736 GB, free: 39.64 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.0003569/0.7394, allocations: 0.6876 MB / 0.5742 GB, free: 39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.7396, allocations: 87.23 kB / 0.5743 GB, free: 38.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7396, allocations: 0 / 0.5743 GB, free: 38.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.7397, allocations: 37.45 kB / 0.5744 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.0003677/0.7401, allocations: 2.938 kB / 0.5744 GB, free: 38.95 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.7419, allocations: 1.978 MB / 0.5763 GB, free: 37.2 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.7421, allocations: 0.6921 MB / 0.577 GB, free: 36.49 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.925e-05/0.7422, allocations: 24.14 kB / 0.577 GB, free: 36.48 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.7422, allocations: 24.2 kB / 0.577 GB, free: 36.46 MB / 462.3 MB Notification: Performance of SimCode: time 3.5e-07/0.7422, allocations: 0 / 0.577 GB, free: 36.46 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.7564, allocations: 1.841 MB / 0.5788 GB, free: 35.62 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004435/0.7569, allocations: 251.5 kB / 0.5791 GB, free: 35.36 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.942, allocations: 0 / 0.5791 GB, free: 35.36 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