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.001473/0.001473, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3044/0.3044, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.916e-05, allocations: 224 / 418.3 MB, free: 40.97 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.457, allocations: 58.87 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.6862, allocations: 88.58 MB / 0.5525 GB, free: 10.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.6865, allocations: 71.91 kB / 0.5526 GB, free: 10.55 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03015/0.7167, allocations: 6.487 MB / 0.5589 GB, free: 4.043 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7168, allocations: 0 / 0.5589 GB, free: 4.043 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.7168, allocations: 11.98 kB / 0.5589 GB, free: 4.031 MB / 395.1 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.001256/0.7181, allocations: 0.5424 MB / 0.5594 GB, free: 3.445 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7181, allocations: 8.031 kB / 0.5594 GB, free: 3.438 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/0.7185, allocations: 55.52 kB / 0.5595 GB, free: 3.383 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.719, allocations: 262.5 kB / 0.5597 GB, free: 3.086 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.719, allocations: 8 kB / 0.5598 GB, free: 3.078 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/0.7191, allocations: 27.91 kB / 0.5598 GB, free: 3.051 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005533/0.7196, allocations: 169.5 kB / 0.5599 GB, free: 2.887 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.7203, allocations: 250.8 kB / 0.5602 GB, free: 2.613 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.7203, allocations: 7.906 kB / 0.5602 GB, free: 2.605 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.7204, allocations: 0 / 0.5602 GB, free: 2.605 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.7204, allocations: 12 kB / 0.5602 GB, free: 2.594 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.7232, allocations: 1.227 MB / 0.5614 GB, free: 1.281 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/0.724, allocations: 301 kB / 0.5617 GB, free: 0.9414 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.7242, allocations: 92.3 kB / 0.5618 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/0.7243, allocations: 19.86 kB / 0.5618 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.7243, allocations: 38.75 kB / 0.5618 GB, free: 0.7695 MB / 395.1 MB Notification: Performance of pre-optimization done (n=36): time 3.136e-06/0.7243, allocations: 0 / 0.5618 GB, free: 0.7695 MB / 395.1 MB Notification: Performance of matching and sorting (n=40): time 0.002575/0.7269, allocations: 1.281 MB / 0.5631 GB, free: 15.3 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7271, allocations: 162.2 kB / 0.5632 GB, free: 15.1 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.7274, allocations: 176 kB / 0.5634 GB, free: 14.92 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.7275, allocations: 25.7 kB / 0.5634 GB, free: 14.89 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.7276, allocations: 242.9 kB / 0.5637 GB, free: 14.65 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.7278, allocations: 149.8 kB / 0.5638 GB, free: 14.5 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.7279, allocations: 0 / 0.5638 GB, free: 14.5 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.7281, allocations: 338.8 kB / 0.5641 GB, free: 14.16 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.7283, allocations: 73.12 kB / 0.5642 GB, free: 14.09 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.7288, allocations: 227 kB / 0.5644 GB, free: 13.81 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.7291, allocations: 116 kB / 0.5645 GB, free: 13.7 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.7291, allocations: 0 / 0.5645 GB, free: 13.7 MB / 411.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000944/0.7301, allocations: 341.6 kB / 0.5648 GB, free: 13.36 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.7302, allocations: 4 kB / 0.5649 GB, free: 13.35 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.7302, allocations: 8 kB / 0.5649 GB, free: 13.34 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/0.7302, allocations: 8 kB / 0.5649 GB, free: 13.34 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.731, allocations: 115.8 kB / 0.565 GB, free: 13.22 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.731, allocations: 11.94 kB / 0.565 GB, free: 13.21 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.7314, allocations: 12.28 kB / 0.565 GB, free: 13.2 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.7315, allocations: 27.94 kB / 0.565 GB, free: 13.17 MB / 411.1 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 () * 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.0001699/0.7317, allocations: 120.8 kB / 0.5651 GB, free: 13.05 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007957/0.7325, allocations: 237.2 kB / 0.5654 GB, free: 12.81 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.7327, allocations: 31.62 kB / 0.5654 GB, free: 12.78 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.7331, allocations: 111.4 kB / 0.5655 GB, free: 12.66 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.7331, allocations: 4 kB / 0.5655 GB, free: 12.66 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.7331, allocations: 4 kB / 0.5655 GB, free: 12.66 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7331, allocations: 3.984 kB / 0.5655 GB, free: 12.65 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.7355, allocations: 0.9565 MB / 0.5665 GB, free: 11.62 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.7356, allocations: 0 / 0.5665 GB, free: 11.62 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.7365, allocations: 95.89 kB / 0.5665 GB, free: 11.53 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.7365, allocations: 4 kB / 0.5665 GB, free: 11.53 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.7366, allocations: 8 kB / 0.5666 GB, free: 11.52 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.7366, allocations: 7.984 kB / 0.5666 GB, free: 11.51 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.7366, allocations: 11.89 kB / 0.5666 GB, free: 11.5 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.738, allocations: 0.927 MB / 0.5675 GB, free: 10.45 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.7382, allocations: 104.7 kB / 0.5676 GB, free: 10.33 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.7383, allocations: 8 kB / 0.5676 GB, free: 10.32 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.7389, allocations: 4 kB / 0.5676 GB, free: 10.32 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.7389, allocations: 31.92 kB / 0.5676 GB, free: 10.29 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.739, allocations: 19.98 kB / 0.5676 GB, free: 10.27 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.7392, allocations: 136.5 kB / 0.5678 GB, free: 10.13 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.7392, allocations: 0 / 0.5678 GB, free: 10.13 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008428/0.7401, allocations: 68 kB / 0.5678 GB, free: 10.07 MB / 411.1 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 () * 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.002121/0.7422, allocations: 2.298 MB / 0.5701 GB, free: 7.672 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0007907/0.743, allocations: 241.7 kB / 0.5703 GB, free: 7.438 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.7431, allocations: 0 / 0.5703 GB, free: 7.438 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.7434, allocations: 115.8 kB / 0.5704 GB, free: 7.324 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.7444, allocations: 48.67 kB / 0.5705 GB, free: 7.277 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.7481, allocations: 1.217 MB / 0.5717 GB, free: 5.98 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.7487, allocations: 0.7997 MB / 0.5724 GB, free: 5.152 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.7491, allocations: 107.3 kB / 0.5725 GB, free: 5.047 MB / 411.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7491, allocations: 0 / 0.5725 GB, free: 5.047 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.604/3.353, allocations: 5.122 MB / 0.5775 GB, free: 15.93 MB / 427.1 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