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.001066/0.001066, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.0008908/0.0008909, allocations: 183.5 kB / 17.2 MB, free: 5.914 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.28/1.28, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.749/0.749, allocations: 120.4 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002868, allocations: 8 kB / 0.4943 GB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1543, allocations: 82.84 MB / 0.5752 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.00105/0.1554, allocations: 0.9183 MB / 0.5761 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.1555, allocations: 31.95 kB / 0.5761 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.1555, allocations: 0 / 0.5761 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.294e-05/0.1556, allocations: 7.938 kB / 0.5761 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.537e-05/0.1556, allocations: 7.938 kB / 0.5761 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.1558, allocations: 11.97 kB / 0.5761 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.983e-05/0.1559, allocations: 51.94 kB / 0.5762 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.1559, allocations: 0 / 0.5762 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.156, allocations: 19.98 kB / 0.5762 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.156, allocations: 23.91 kB / 0.5762 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1561, allocations: 7.984 kB / 0.5762 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.1561, allocations: 4 kB / 0.5762 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.1561, allocations: 15.98 kB / 0.5762 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.1561, allocations: 29.7 kB / 0.5763 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.99e-05/0.1562, allocations: 19.97 kB / 0.5763 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.1562, allocations: 0 / 0.5763 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1562, allocations: 0 / 0.5763 GB, free: 6.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1562, allocations: 7.938 kB / 0.5763 GB, free: 6.863 MB / 446.1 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.0005844/0.1568, allocations: 367.4 kB / 0.5766 GB, free: 6.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1568, allocations: 8.031 kB / 0.5766 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.1569, allocations: 38.56 kB / 0.5767 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.1569, allocations: 3.953 kB / 0.5767 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1571, allocations: 175 kB / 0.5768 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1571, allocations: 4 kB / 0.5769 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1571, allocations: 15.91 kB / 0.5769 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1572, allocations: 69.64 kB / 0.5769 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1573, allocations: 0 / 0.5769 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1573, allocations: 4 kB / 0.5769 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1573, allocations: 3.953 kB / 0.5769 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.1574, allocations: 39.89 kB / 0.577 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1575, allocations: 181.6 kB / 0.5772 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1577, allocations: 66.55 kB / 0.5772 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.1577, allocations: 4 kB / 0.5772 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1577, allocations: 34.56 kB / 0.5773 GB, free: 5.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.1577, allocations: 0 / 0.5773 GB, free: 5.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002091/0.1579, allocations: 113.9 kB / 0.5774 GB, free: 5.578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.158, allocations: 55.39 kB / 0.5774 GB, free: 5.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.158, allocations: 101.8 kB / 0.5775 GB, free: 5.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1581, allocations: 33.7 kB / 0.5775 GB, free: 5.363 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.1581, allocations: 84.14 kB / 0.5776 GB, free: 5.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1581, allocations: 35.77 kB / 0.5777 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.1582, allocations: 4 kB / 0.5777 GB, free: 5.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1583, allocations: 322.8 kB / 0.578 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.1583, allocations: 35.97 kB / 0.578 GB, free: 4.879 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.1584, allocations: 71.08 kB / 0.5781 GB, free: 4.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.05e-05/0.1585, allocations: 47.98 kB / 0.5781 GB, free: 4.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1585, allocations: 7.875 kB / 0.5781 GB, free: 4.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001963/0.1587, allocations: 149.4 kB / 0.5783 GB, free: 4.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1587, allocations: 5.875 kB / 0.5783 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1587, allocations: 0 / 0.5783 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1587, allocations: 4 kB / 0.5783 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1589, allocations: 35.92 kB / 0.5783 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1589, allocations: 4.125 kB / 0.5783 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.159, allocations: 15.89 kB / 0.5783 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.159, allocations: 7.953 kB / 0.5783 GB, free: 4.52 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/0.1591, allocations: 121.7 kB / 0.5785 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.1591, allocations: 4.188 kB / 0.5785 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1591, allocations: 15.95 kB / 0.5785 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1591, allocations: 0 / 0.5785 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1592, allocations: 3.984 kB / 0.5785 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1592, allocations: 4 kB / 0.5785 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1593, allocations: 189.5 kB / 0.5787 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1593, allocations: 4 kB / 0.5787 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.1595, allocations: 23.98 kB / 0.5787 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1595, allocations: 4 kB / 0.5787 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1595, allocations: 3.984 kB / 0.5787 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1595, allocations: 4 kB / 0.5787 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1595, allocations: 0 / 0.5787 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1598, allocations: 153.3 kB / 0.5788 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.16, allocations: 81.11 kB / 0.5789 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.16, allocations: 4 kB / 0.5789 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.16, allocations: 3.984 kB / 0.5789 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.1601, allocations: 4 kB / 0.5789 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.1601, allocations: 4 kB / 0.5789 GB, free: 3.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.009e-05/0.1601, allocations: 83.27 kB / 0.579 GB, free: 3.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 0 / 0.579 GB, free: 3.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001882/0.1603, allocations: 16 kB / 0.579 GB, free: 3.707 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004016/0.1607, allocations: 0.6837 MB / 0.5797 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.1609, allocations: 88.06 kB / 0.5798 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1609, allocations: 3.938 kB / 0.5798 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.1609, allocations: 36.12 kB / 0.5798 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1611, allocations: 4.344 kB / 0.5798 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1626, allocations: 1.783 MB / 0.5816 GB, free: 1.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1628, allocations: 0.7005 MB / 0.5823 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.134e-05/0.1629, allocations: 24.64 kB / 0.5823 GB, free: 268 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.163, allocations: 23.38 kB / 0.5823 GB, free: 244 kB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.163, allocations: 0 / 0.5823 GB, free: 244 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4134/0.5764, allocations: 1.713 MB / 0.584 GB, free: 15.42 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/0.5768, allocations: 239.2 kB / 0.5842 GB, free: 15.17 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/2.022, allocations: 3.969 kB / 0.5842 GB, free: 15.17 MB / 446.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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat does not exist to compare? outputFormat=mat