Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",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.00104/0.00104, allocations: 95.09 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.001026/0.001026, allocations: 184.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.315/1.315, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8145/0.8145, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 8 kB / 0.4943 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 82.84 MB / 0.5752 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001217/0.1504, allocations: 0.9261 MB / 0.5761 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001751/0.1506, allocations: 43.89 kB / 0.5761 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.1507, allocations: 0 / 0.5761 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.344e-05/0.1508, allocations: 4 kB / 0.5761 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.69e-05/0.1508, allocations: 3.984 kB / 0.5761 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.151, allocations: 15.97 kB / 0.5761 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1511, allocations: 67.84 kB / 0.5762 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.1511, allocations: 3.984 kB / 0.5762 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.1512, allocations: 35.97 kB / 0.5762 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.1513, allocations: 27.91 kB / 0.5763 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1513, allocations: 4 kB / 0.5763 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.1513, allocations: 7.938 kB / 0.5763 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.1514, allocations: 27.97 kB / 0.5763 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.1514, allocations: 29.7 kB / 0.5763 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.606e-05/0.1515, allocations: 44.09 kB / 0.5764 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1515, allocations: 3.938 kB / 0.5764 GB, free: 6.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1515, allocations: 0 / 0.5764 GB, free: 6.781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1515, allocations: 0 / 0.5764 GB, free: 6.781 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007221/0.1522, allocations: 391.2 kB / 0.5767 GB, free: 6.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1523, allocations: 12.03 kB / 0.5767 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.1523, allocations: 34.56 kB / 0.5768 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1523, allocations: 15.84 kB / 0.5768 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1525, allocations: 171.1 kB / 0.577 GB, free: 6.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1526, allocations: 12 kB / 0.577 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1526, allocations: 15.98 kB / 0.577 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1528, allocations: 81.64 kB / 0.5771 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1528, allocations: 3.938 kB / 0.5771 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1528, allocations: 0 / 0.5771 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1528, allocations: 3.953 kB / 0.5771 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.1529, allocations: 51.95 kB / 0.5771 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.1531, allocations: 213.4 kB / 0.5773 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.1535, allocations: 134.5 kB / 0.5775 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1535, allocations: 4 kB / 0.5775 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1535, allocations: 34.56 kB / 0.5775 GB, free: 5.457 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1535, allocations: 0 / 0.5775 GB, free: 5.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006919/0.1542, allocations: 304.1 kB / 0.5778 GB, free: 5.129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1543, allocations: 59.34 kB / 0.5778 GB, free: 5.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.901e-05/0.1543, allocations: 101.8 kB / 0.5779 GB, free: 4.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1544, allocations: 33.64 kB / 0.578 GB, free: 4.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.1544, allocations: 80.14 kB / 0.578 GB, free: 4.828 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.1545, allocations: 55.25 kB / 0.5781 GB, free: 4.773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.1545, allocations: 4 kB / 0.5781 GB, free: 4.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.1546, allocations: 318.8 kB / 0.5784 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.1547, allocations: 51.97 kB / 0.5785 GB, free: 4.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.51e-05/0.1548, allocations: 84.25 kB / 0.5785 GB, free: 4.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.076e-05/0.1549, allocations: 64.36 kB / 0.5786 GB, free: 4.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1549, allocations: 0 / 0.5786 GB, free: 4.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004978/0.1554, allocations: 230.1 kB / 0.5788 GB, free: 4.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.1555, allocations: 13.81 kB / 0.5788 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.1555, allocations: 0 / 0.5788 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.1558, allocations: 64.86 kB / 0.5789 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1559, allocations: 31.98 kB / 0.5789 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.1573, allocations: 1.488 MB / 0.5804 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.1573, allocations: 15.81 kB / 0.5804 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1574, allocations: 8 kB / 0.5804 GB, free: 2.242 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/0.1574, allocations: 125.8 kB / 0.5805 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.1575, allocations: 4 kB / 0.5805 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.1575, allocations: 16.03 kB / 0.5805 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1575, allocations: 0 / 0.5805 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1575, allocations: 3.953 kB / 0.5805 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1575, allocations: 7.984 kB / 0.5805 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1577, allocations: 205.5 kB / 0.5807 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1577, allocations: 0 / 0.5807 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.1579, allocations: 27.98 kB / 0.5808 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.1581, allocations: 60.8 kB / 0.5808 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1582, allocations: 3.984 kB / 0.5808 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.1595, allocations: 1.496 MB / 0.5823 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1595, allocations: 3.953 kB / 0.5823 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4366/0.5961, allocations: 249 kB / 0.5825 GB, free: 16.06 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.5962, allocations: 83.45 kB / 0.5826 GB, free: 15.97 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.5962, allocations: 6.25 kB / 0.5826 GB, free: 15.97 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.711e-05/0.5963, allocations: 7.141 kB / 0.5826 GB, free: 15.97 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.5963, allocations: 10.27 kB / 0.5826 GB, free: 15.97 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5964, allocations: 7.25 kB / 0.5826 GB, free: 15.97 MB / 446.3 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.5964, allocations: 79.67 kB / 0.5827 GB, free: 15.89 MB / 446.3 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5964, allocations: 0.5938 kB / 0.5827 GB, free: 15.89 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003827/0.5968, allocations: 29.84 kB / 0.5827 GB, free: 15.89 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006631/0.5975, allocations: 0.79 MB / 0.5835 GB, free: 15.3 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.000526/0.598, allocations: 254.4 kB / 0.5838 GB, free: 15.19 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.598, allocations: 3.594 kB / 0.5838 GB, free: 15.19 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.5983, allocations: 196.3 kB / 0.584 GB, free: 15.07 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.5984, allocations: 7.531 kB / 0.584 GB, free: 15.07 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.6004, allocations: 1.931 MB / 0.5858 GB, free: 13.73 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.6005, allocations: 0.7111 MB / 0.5865 GB, free: 13.03 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 6.77e-05/0.6006, allocations: 30.45 kB / 0.5866 GB, free: 13.03 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.6006, allocations: 20.3 kB / 0.5866 GB, free: 13.02 MB / 446.3 MB Notification: Performance of SimCode: time 3.21e-07/0.6006, allocations: 0 / 0.5866 GB, free: 13.02 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.6155, allocations: 2.525 MB / 0.5891 GB, free: 12.83 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.6157, allocations: 252.2 kB / 0.5893 GB, free: 12.5 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.086, allocations: 4 kB / 0.5893 GB, free: 12.5 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat does not exist to compare? outputFormat=mat