Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001576/0.001575, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001173/0.001172, allocations: 94.09 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5371/0.5371, allocations: 43.54 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004862, allocations: 12 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5177/0.6565, allocations: 89.33 MB / 0.566 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.6569, allocations: 67.97 kB / 0.5661 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03/0.6869, allocations: 6.561 MB / 0.5725 GB, free: 6.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.687, allocations: 0 / 0.5725 GB, free: 6.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.192e-05/0.687, allocations: 11.98 kB / 0.5725 GB, free: 6.707 MB / 394.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.001247/0.6883, allocations: 0.5596 MB / 0.5731 GB, free: 6.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.6883, allocations: 16.02 kB / 0.5731 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.6884, allocations: 62.55 kB / 0.5732 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.6888, allocations: 51.05 kB / 0.5732 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.6892, allocations: 258.4 kB / 0.5734 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.6892, allocations: 20.66 kB / 0.5735 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.999e-05/0.6893, allocations: 43.88 kB / 0.5735 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.6901, allocations: 302.9 kB / 0.5738 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.6902, allocations: 11.84 kB / 0.5738 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.6902, allocations: 12 kB / 0.5738 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.6902, allocations: 9.031 kB / 0.5738 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.6908, allocations: 196.9 kB / 0.574 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.6936, allocations: 1.279 MB / 0.5753 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/0.6945, allocations: 333.2 kB / 0.5756 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.6946, allocations: 7.938 kB / 0.5756 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.6947, allocations: 54.53 kB / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 4.107e-06/0.6947, allocations: 0 / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.004154/0.6989, allocations: 1.567 MB / 0.5772 GB, free: 1.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.699, allocations: 162.2 kB / 0.5773 GB, free: 1.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.6993, allocations: 208 kB / 0.5775 GB, free: 1.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.6994, allocations: 29.7 kB / 0.5776 GB, free: 1.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.6996, allocations: 230.7 kB / 0.5778 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.6997, allocations: 157.7 kB / 0.5779 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.6998, allocations: 8 kB / 0.5779 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.6999, allocations: 338.8 kB / 0.5783 GB, free: 324 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.7002, allocations: 89.09 kB / 0.5783 GB, free: 236 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.7007, allocations: 240.1 kB / 0.5786 GB, free: 15.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.7011, allocations: 131.9 kB / 0.5787 GB, free: 15.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.7011, allocations: 4 kB / 0.5787 GB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001005/0.7021, allocations: 388.9 kB / 0.5791 GB, free: 15.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.7022, allocations: 8 kB / 0.5791 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.7022, allocations: 4 kB / 0.5791 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.7022, allocations: 12.36 kB / 0.5791 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/0.703, allocations: 119.8 kB / 0.5792 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.7031, allocations: 11.94 kB / 0.5792 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.7034, allocations: 16.42 kB / 0.5792 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.7035, allocations: 20 kB / 0.5793 GB, free: 15.23 MB / 410.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.0002678/0.7038, allocations: 169.6 kB / 0.5794 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.7039, allocations: 31.62 kB / 0.5794 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.7043, allocations: 123.2 kB / 0.5796 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.7043, allocations: 11.98 kB / 0.5796 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.7044, allocations: 4 kB / 0.5796 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.7044, allocations: 0 / 0.5796 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.7067, allocations: 1.022 MB / 0.5806 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.7067, allocations: 4 kB / 0.5806 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008844/0.7076, allocations: 95.89 kB / 0.5807 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.7077, allocations: 4.188 kB / 0.5807 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.7077, allocations: 16.38 kB / 0.5807 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.7077, allocations: 11.94 kB / 0.5807 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.7078, allocations: 12.28 kB / 0.5807 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.7091, allocations: 0.9629 MB / 0.5817 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.7093, allocations: 108.7 kB / 0.5818 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.7094, allocations: 15.98 kB / 0.5818 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.7099, allocations: 16 kB / 0.5818 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.7099, allocations: 31.86 kB / 0.5818 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.71, allocations: 12 kB / 0.5818 GB, free: 12.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000235/0.7102, allocations: 160.5 kB / 0.582 GB, free: 12.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7102, allocations: 0 / 0.582 GB, free: 12.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007845/0.711, allocations: 84.38 kB / 0.5821 GB, free: 12.11 MB / 410.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.002082/0.7131, allocations: 2.335 MB / 0.5843 GB, free: 9.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008321/0.714, allocations: 283 kB / 0.5846 GB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.714, allocations: 0 / 0.5846 GB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.7144, allocations: 132.7 kB / 0.5847 GB, free: 9.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.7153, allocations: 60.64 kB / 0.5848 GB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/0.7226, allocations: 5.622 MB / 0.5903 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.7231, allocations: 0.7932 MB / 0.5911 GB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.7235, allocations: 107.4 kB / 0.5912 GB, free: 2.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7235, allocations: 0 / 0.5912 GB, free: 2.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.724/3.448, allocations: 5.128 MB / 0.5962 GB, free: 13.38 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat