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.001089/0.001088, allocations: 92.94 kB / 16.65 MB, free: 6.59 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.001067/0.001067, allocations: 181.7 kB / 17.56 MB, free: 6.203 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.651/1.651, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.345/1.345, allocations: 120.5 MB / 413.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004361, allocations: 8 kB / 0.495 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8412, allocations: 82.84 MB / 0.5759 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001568/0.8429, allocations: 0.9305 MB / 0.5768 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.8431, allocations: 32.95 kB / 0.5768 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.8432, allocations: 3.938 kB / 0.5768 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.8433, allocations: 0 / 0.5768 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.8434, allocations: 9.812 kB / 0.5769 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.8436, allocations: 17.33 kB / 0.5769 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.8439, allocations: 87.06 kB / 0.577 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.844, allocations: 1.375 kB / 0.577 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.542e-05/0.8442, allocations: 28.7 kB / 0.577 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.8443, allocations: 32.27 kB / 0.577 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.8443, allocations: 2.75 kB / 0.577 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.8444, allocations: 2.75 kB / 0.577 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.8444, allocations: 14.86 kB / 0.577 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.8445, allocations: 49.81 kB / 0.5771 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.781e-05/0.8446, allocations: 39 kB / 0.5771 GB, free: 41.03 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.8446, allocations: 0 / 0.5771 GB, free: 41.03 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8446, allocations: 4 kB / 0.5771 GB, free: 41.03 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.8446, allocations: 1.375 kB / 0.5771 GB, free: 41.03 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.0006592/0.8452, allocations: 361.1 kB / 0.5775 GB, free: 40.65 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/0.8453, allocations: 9.625 kB / 0.5775 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.8454, allocations: 36.12 kB / 0.5775 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.8454, allocations: 7.672 kB / 0.5775 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.8456, allocations: 171.2 kB / 0.5777 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.8456, allocations: 11.12 kB / 0.5777 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.8457, allocations: 9.781 kB / 0.5777 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.8458, allocations: 73.31 kB / 0.5778 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.8459, allocations: 5.281 kB / 0.5778 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.8459, allocations: 4 kB / 0.5778 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.8459, allocations: 1.344 kB / 0.5778 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.846, allocations: 29.16 kB / 0.5778 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.8462, allocations: 182.3 kB / 0.578 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.8464, allocations: 74.36 kB / 0.5781 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.8465, allocations: 31.75 kB / 0.5781 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.8465, allocations: 5.422 kB / 0.5781 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.8465, allocations: 31.72 kB / 0.5781 GB, free: 39.98 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.8465, allocations: 0 / 0.5781 GB, free: 39.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002763/0.8468, allocations: 123.6 kB / 0.5782 GB, free: 39.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.8469, allocations: 52.75 kB / 0.5783 GB, free: 39.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.8469, allocations: 105.8 kB / 0.5784 GB, free: 39.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.847, allocations: 26.55 kB / 0.5784 GB, free: 39.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.847, allocations: 85.36 kB / 0.5785 GB, free: 39.62 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.847, allocations: 35.48 kB / 0.5785 GB, free: 39.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.8471, allocations: 24.3 kB / 0.5786 GB, free: 39.56 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.8471, allocations: 317.6 kB / 0.5789 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.8472, allocations: 35.91 kB / 0.5789 GB, free: 39.23 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.8473, allocations: 79.52 kB / 0.579 GB, free: 39.16 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.8475, allocations: 117.5 kB / 0.5791 GB, free: 39.08 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.8475, allocations: 0 / 0.5791 GB, free: 39.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002482/0.8478, allocations: 153.9 kB / 0.5792 GB, free: 38.99 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8478, allocations: 8.562 kB / 0.5792 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.8478, allocations: 1.531 kB / 0.5792 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8478, allocations: 5.344 kB / 0.5792 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.848, allocations: 33.05 kB / 0.5793 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.848, allocations: 1.812 kB / 0.5793 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.8481, allocations: 15.38 kB / 0.5793 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.8481, allocations: 2.906 kB / 0.5793 GB, free: 38.97 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 8.11e-05/0.8482, allocations: 127.5 kB / 0.5794 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.8482, allocations: 5.188 kB / 0.5794 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.8482, allocations: 13.34 kB / 0.5794 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8482, allocations: 1.531 kB / 0.5794 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8483, allocations: 0 / 0.5794 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8483, allocations: 0 / 0.5794 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.8484, allocations: 178.5 kB / 0.5796 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8484, allocations: 0 / 0.5796 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.8486, allocations: 31.36 kB / 0.5796 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8486, allocations: 0 / 0.5796 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.8486, allocations: 3.188 kB / 0.5796 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8486, allocations: 5.25 kB / 0.5796 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8486, allocations: 0 / 0.5796 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.8489, allocations: 161.3 kB / 0.5798 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.8489, allocations: 86.41 kB / 0.5799 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.849, allocations: 4.125 kB / 0.5799 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.8491, allocations: 1.375 kB / 0.5799 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.8492, allocations: 14.67 kB / 0.5799 GB, free: 38.37 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.8492, allocations: 1.375 kB / 0.5799 GB, free: 38.37 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.681e-05/0.8493, allocations: 82.03 kB / 0.58 GB, free: 38.29 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.62e-07/0.8493, allocations: 0 / 0.58 GB, free: 38.29 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000251/0.8496, allocations: 17.75 kB / 0.58 GB, free: 38.29 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.0004117/0.85, allocations: 0.6906 MB / 0.5807 GB, free: 37.64 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.8502, allocations: 90.91 kB / 0.5808 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8502, allocations: 1.375 kB / 0.5808 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.8502, allocations: 32.61 kB / 0.5808 GB, free: 37.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.8504, allocations: 9.438 kB / 0.5808 GB, free: 37.59 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.8525, allocations: 2.084 MB / 0.5828 GB, free: 35.74 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.8527, allocations: 0.6923 MB / 0.5835 GB, free: 35.04 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.578e-05/0.8528, allocations: 25.23 kB / 0.5835 GB, free: 35.03 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.853, allocations: 23.11 kB / 0.5835 GB, free: 35.01 MB / 462.3 MB Notification: Performance of SimCode: time 4.21e-07/0.853, allocations: 0 / 0.5835 GB, free: 35.01 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.8682, allocations: 1.78 MB / 0.5853 GB, free: 34.25 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.8685, allocations: 254.6 kB / 0.5855 GB, free: 33.98 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.297, allocations: 0 / 0.5855 GB, free: 33.98 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