Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001002, allocations: 82.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2251/0.2251, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003438, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3286/0.4423, allocations: 89.34 MB / 0.5661 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.4426, allocations: 71.66 kB / 0.5662 GB, free: 9.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01787/0.4604, allocations: 6.544 MB / 0.5725 GB, free: 4.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4605, allocations: 0 / 0.5725 GB, free: 4.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.282e-05/0.4605, allocations: 11.98 kB / 0.5726 GB, free: 4.492 MB / 378.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.0009199/0.4615, allocations: 0.5623 MB / 0.5731 GB, free: 3.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4615, allocations: 12.02 kB / 0.5731 GB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.558e-05/0.4616, allocations: 66.48 kB / 0.5732 GB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.4618, allocations: 55.52 kB / 0.5732 GB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.4622, allocations: 260.5 kB / 0.5735 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4622, allocations: 24.03 kB / 0.5735 GB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.4623, allocations: 38.89 kB / 0.5735 GB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.4627, allocations: 292.9 kB / 0.5738 GB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.4628, allocations: 7.891 kB / 0.5738 GB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.4628, allocations: 15.03 kB / 0.5738 GB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4628, allocations: 8 kB / 0.5738 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.4631, allocations: 198.4 kB / 0.574 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.4649, allocations: 1.281 MB / 0.5753 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.4653, allocations: 333.5 kB / 0.5756 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.4654, allocations: 7.938 kB / 0.5756 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4654, allocations: 50.36 kB / 0.5757 GB, free: 1.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/0.4654, allocations: 0 / 0.5757 GB, free: 1.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.0024/0.4678, allocations: 1.563 MB / 0.5772 GB, free: 15.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.4679, allocations: 162.2 kB / 0.5773 GB, free: 15.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.4681, allocations: 202.8 kB / 0.5775 GB, free: 15.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.4681, allocations: 37.52 kB / 0.5776 GB, free: 15.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.4682, allocations: 171.1 kB / 0.5777 GB, free: 15.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4683, allocations: 153 kB / 0.5779 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.4684, allocations: 7.625 kB / 0.5779 GB, free: 15.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4685, allocations: 353.8 kB / 0.5782 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4687, allocations: 91.91 kB / 0.5783 GB, free: 14.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.4689, allocations: 238.2 kB / 0.5785 GB, free: 14.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.4691, allocations: 142.9 kB / 0.5787 GB, free: 14.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4692, allocations: 0 / 0.5787 GB, free: 14.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005436/0.4697, allocations: 404.5 kB / 0.5791 GB, free: 14.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4697, allocations: 12.03 kB / 0.5791 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.4698, allocations: 4 kB / 0.5791 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4698, allocations: 8 kB / 0.5791 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.4702, allocations: 119.8 kB / 0.5792 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.4702, allocations: 7.938 kB / 0.5792 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4704, allocations: 15.88 kB / 0.5792 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.4704, allocations: 23.94 kB / 0.5792 GB, free: 14 MB / 394.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.0001489/0.4706, allocations: 168.3 kB / 0.5794 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4707, allocations: 35.62 kB / 0.5794 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.4709, allocations: 117.6 kB / 0.5796 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4709, allocations: 4 kB / 0.5796 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.471, allocations: 0 / 0.5796 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.471, allocations: 11.92 kB / 0.5796 GB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.4724, allocations: 1.029 MB / 0.5806 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.4724, allocations: 4 kB / 0.5806 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.4729, allocations: 100.1 kB / 0.5807 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.4729, allocations: 4 kB / 0.5807 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.4729, allocations: 15.31 kB / 0.5807 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4729, allocations: 4 kB / 0.5807 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.4729, allocations: 11.89 kB / 0.5807 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009092/0.4739, allocations: 0.9634 MB / 0.5816 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.474, allocations: 104.8 kB / 0.5817 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.474, allocations: 14.36 kB / 0.5818 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.4743, allocations: 14.81 kB / 0.5818 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.4744, allocations: 27.36 kB / 0.5818 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.4744, allocations: 15.81 kB / 0.5818 GB, free: 11.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.4746, allocations: 164.8 kB / 0.582 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4746, allocations: 0 / 0.582 GB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005522/0.4751, allocations: 82.31 kB / 0.582 GB, free: 11.27 MB / 394.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.001254/0.4764, allocations: 2.34 MB / 0.5843 GB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.4769, allocations: 270.1 kB / 0.5846 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4769, allocations: 4.969 kB / 0.5846 GB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.4771, allocations: 136.5 kB / 0.5847 GB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.4778, allocations: 64 kB / 0.5848 GB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.4822, allocations: 5.591 MB / 0.5902 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.4825, allocations: 0.7962 MB / 0.591 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.4827, allocations: 38.97 kB / 0.5911 GB, free: 2.262 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.4829, allocations: 101 kB / 0.5912 GB, free: 2.23 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4829, allocations: 4 kB / 0.5912 GB, free: 2.227 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.5012, allocations: 5.806 MB / 0.5968 GB, free: 12.46 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.5015, allocations: 166.7 kB / 0.597 GB, free: 12.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/2.6, allocations: 0 / 0.597 GB, free: 12.22 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat