Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008527/0.0008525, allocations: 91.14 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3397/0.3397, allocations: 44.21 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002891, allocations: 4 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3106, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.4216, allocations: 90.45 MB / 0.598 GB, free: 4.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4218, allocations: 71.88 kB / 0.598 GB, free: 4.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01862/0.4405, allocations: 6.678 MB / 0.6045 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4405, allocations: 0 / 0.6045 GB, free: 13.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.4405, allocations: 12 kB / 0.6046 GB, free: 13.88 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008025/0.4413, allocations: 0.5655 MB / 0.6051 GB, free: 13.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4414, allocations: 8.25 kB / 0.6051 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.707e-05/0.4415, allocations: 70.47 kB / 0.6052 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.4417, allocations: 55.55 kB / 0.6052 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.442, allocations: 254.5 kB / 0.6055 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.442, allocations: 24.61 kB / 0.6055 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.4421, allocations: 39.84 kB / 0.6055 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.4425, allocations: 294.7 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4425, allocations: 4 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.4426, allocations: 12 kB / 0.6058 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4426, allocations: 8 kB / 0.6058 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.4429, allocations: 195 kB / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.4446, allocations: 1.291 MB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.4451, allocations: 337.1 kB / 0.6076 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4452, allocations: 7.984 kB / 0.6076 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.4452, allocations: 38.5 kB / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=36): time 1.513e-06/0.4452, allocations: 0 / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002387/0.4476, allocations: 1.57 MB / 0.6092 GB, free: 8.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.4477, allocations: 158.2 kB / 0.6093 GB, free: 8.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.4479, allocations: 200.1 kB / 0.6095 GB, free: 8.262 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.4479, allocations: 33.64 kB / 0.6096 GB, free: 8.223 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.448, allocations: 180.2 kB / 0.6097 GB, free: 8.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/0.4481, allocations: 153.8 kB / 0.6099 GB, free: 7.891 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.4482, allocations: 12 kB / 0.6099 GB, free: 7.879 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4483, allocations: 342.8 kB / 0.6102 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.4485, allocations: 93.08 kB / 0.6103 GB, free: 7.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.4487, allocations: 240.1 kB / 0.6105 GB, free: 7.148 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.4489, allocations: 132.1 kB / 0.6107 GB, free: 7.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4489, allocations: 0 / 0.6107 GB, free: 7.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005804/0.4495, allocations: 406 kB / 0.6111 GB, free: 6.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4496, allocations: 13.36 kB / 0.6111 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4496, allocations: 4.094 kB / 0.6111 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4496, allocations: 15.92 kB / 0.6111 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.45, allocations: 115.8 kB / 0.6112 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.4501, allocations: 8 kB / 0.6112 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.4502, allocations: 20.31 kB / 0.6112 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.4503, allocations: 31.92 kB / 0.6113 GB, free: 6.414 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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 0.0001606/0.4505, allocations: 158.2 kB / 0.6114 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4506, allocations: 31.62 kB / 0.6114 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.4508, allocations: 119.3 kB / 0.6115 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4508, allocations: 7.938 kB / 0.6116 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4508, allocations: 4 kB / 0.6116 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4508, allocations: 0 / 0.6116 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.4522, allocations: 1.034 MB / 0.6126 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4522, allocations: 4 kB / 0.6126 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.4527, allocations: 99.83 kB / 0.6127 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.4528, allocations: 8 kB / 0.6127 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.4528, allocations: 8 kB / 0.6127 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4528, allocations: 4 kB / 0.6127 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.4528, allocations: 7.984 kB / 0.6127 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.4537, allocations: 0.9636 MB / 0.6136 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.4537, allocations: 104.8 kB / 0.6137 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.4538, allocations: 16 kB / 0.6138 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4541, allocations: 8 kB / 0.6138 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.4542, allocations: 39.86 kB / 0.6138 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.4542, allocations: 15.98 kB / 0.6138 GB, free: 3.551 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.4543, allocations: 152.5 kB / 0.614 GB, free: 3.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4543, allocations: 0 / 0.614 GB, free: 3.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005301/0.4549, allocations: 84 kB / 0.614 GB, free: 3.316 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * 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.001379/0.4562, allocations: 2.339 MB / 0.6163 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005165/0.4568, allocations: 283.9 kB / 0.6166 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4568, allocations: 3.938 kB / 0.6166 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.457, allocations: 124.6 kB / 0.6167 GB, free: 488 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.4576, allocations: 65.12 kB / 0.6168 GB, free: 428 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.4621, allocations: 5.588 MB / 0.6222 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.4626, allocations: 0.7923 MB / 0.623 GB, free: 9.836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.4628, allocations: 42.97 kB / 0.6231 GB, free: 9.793 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.4629, allocations: 107.4 kB / 0.6232 GB, free: 9.688 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.4629, allocations: 0 / 0.6232 GB, free: 9.688 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.4793, allocations: 5.816 MB / 0.6288 GB, free: 4.023 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.4795, allocations: 171.3 kB / 0.629 GB, free: 3.781 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.533, allocations: 3.938 kB / 0.629 GB, free: 3.777 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat