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.001702/0.001702, allocations: 179.7 kB / 14.15 MB, free: 1.172 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.527/1.527, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000931/0.0009312, allocations: 98.22 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2207/0.2207, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.596e-05, allocations: 224 / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 61.91 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.6194, allocations: 90.38 MB / 0.59 GB, free: 14.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.6197, allocations: 63.97 kB / 0.5901 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.6394, allocations: 6.671 MB / 0.5966 GB, free: 8.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6395, allocations: 8 kB / 0.5966 GB, free: 8.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.6395, allocations: 4 kB / 0.5966 GB, free: 8.16 MB / 410.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.0009297/0.6405, allocations: 0.5377 MB / 0.5972 GB, free: 7.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.6405, allocations: 16.02 kB / 0.5972 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.23e-05/0.6406, allocations: 66.55 kB / 0.5972 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.6409, allocations: 51.52 kB / 0.5973 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.6413, allocations: 258.5 kB / 0.5975 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.6413, allocations: 28.73 kB / 0.5976 GB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.6414, allocations: 28 kB / 0.5976 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.6419, allocations: 296.3 kB / 0.5979 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.642, allocations: 11.91 kB / 0.5979 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.642, allocations: 8 kB / 0.5979 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.642, allocations: 8 kB / 0.5979 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.6424, allocations: 188.4 kB / 0.5981 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.6444, allocations: 1.285 MB / 0.5993 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.6449, allocations: 325.5 kB / 0.5996 GB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.6451, allocations: 112.4 kB / 0.5997 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.6451, allocations: 7.984 kB / 0.5998 GB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.6451, allocations: 42.5 kB / 0.5998 GB, free: 4.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/0.6451, allocations: 0 / 0.5998 GB, free: 4.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001796/0.647, allocations: 1.345 MB / 0.6011 GB, free: 3.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.6471, allocations: 162.2 kB / 0.6013 GB, free: 2.906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.6473, allocations: 200.9 kB / 0.6015 GB, free: 2.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.6473, allocations: 37.7 kB / 0.6015 GB, free: 2.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.6474, allocations: 180.1 kB / 0.6017 GB, free: 2.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.6476, allocations: 149.8 kB / 0.6018 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.6476, allocations: 8 kB / 0.6018 GB, free: 2.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6478, allocations: 342.8 kB / 0.6021 GB, free: 1.977 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.6479, allocations: 89.12 kB / 0.6022 GB, free: 1.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.6482, allocations: 236.2 kB / 0.6025 GB, free: 1.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.6484, allocations: 128.1 kB / 0.6026 GB, free: 1.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6484, allocations: 4 kB / 0.6026 GB, free: 1.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006121/0.6491, allocations: 401.1 kB / 0.603 GB, free: 1.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6491, allocations: 13.05 kB / 0.603 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6491, allocations: 8 kB / 0.603 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.6491, allocations: 8 kB / 0.603 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.6496, allocations: 115.8 kB / 0.6031 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.6496, allocations: 15.92 kB / 0.6031 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.6498, allocations: 16 kB / 0.6031 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.6498, allocations: 20 kB / 0.6031 GB, free: 0.8789 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 () * 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.0001292/0.65, allocations: 144.9 kB / 0.6033 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6501, allocations: 31.62 kB / 0.6033 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.6503, allocations: 119.4 kB / 0.6034 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.6503, allocations: 8 kB / 0.6034 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.6504, allocations: 0 / 0.6034 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6504, allocations: 3.984 kB / 0.6034 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.6519, allocations: 1.026 MB / 0.6044 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.6519, allocations: 4.031 kB / 0.6044 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.6524, allocations: 99.89 kB / 0.6045 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.6524, allocations: 4 kB / 0.6045 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.6524, allocations: 11.98 kB / 0.6046 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6524, allocations: 8 kB / 0.6046 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.6525, allocations: 8.125 kB / 0.6046 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/0.6534, allocations: 0.9653 MB / 0.6055 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.6535, allocations: 108.9 kB / 0.6056 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.6536, allocations: 15.94 kB / 0.6056 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.6539, allocations: 16.03 kB / 0.6057 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.6539, allocations: 35.84 kB / 0.6057 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.654, allocations: 20 kB / 0.6057 GB, free: 14.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.6541, allocations: 157.4 kB / 0.6059 GB, free: 13.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6541, allocations: 0 / 0.6059 GB, free: 13.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.6547, allocations: 84 kB / 0.6059 GB, free: 13.77 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 () * 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.001621/0.6563, allocations: 2.322 MB / 0.6082 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.6569, allocations: 265.8 kB / 0.6085 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6569, allocations: 0 / 0.6085 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.6571, allocations: 132 kB / 0.6086 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.6577, allocations: 62.5 kB / 0.6086 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.6601, allocations: 1.232 MB / 0.6098 GB, free: 9.605 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.6605, allocations: 0.7924 MB / 0.6106 GB, free: 8.785 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.6606, allocations: 38.91 kB / 0.6107 GB, free: 8.746 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.6608, allocations: 107.4 kB / 0.6108 GB, free: 8.641 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6608, allocations: 0 / 0.6108 GB, free: 8.641 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.6798, allocations: 5.799 MB / 0.6164 GB, free: 2.973 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.68, allocations: 154.1 kB / 0.6166 GB, free: 2.742 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.765, allocations: 4 kB / 0.6166 GB, free: 2.738 MB / 426.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