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.001656/0.001656, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.668/1.668, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008269/0.0008267, allocations: 92.52 kB / 267 MB, free: 9.285 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.4431/0.4431, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.426e-05, allocations: 3.984 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5611, allocations: 89.24 MB / 0.56 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5614, allocations: 67.62 kB / 0.5601 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.5788, allocations: 6.557 MB / 0.5665 GB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5789, allocations: 0 / 0.5665 GB, free: 10.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.5789, allocations: 12.53 kB / 0.5665 GB, free: 10.79 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.0008566/0.5798, allocations: 0.5408 MB / 0.567 GB, free: 10.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.515e-05/0.5799, allocations: 15.31 kB / 0.5671 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.853e-05/0.58, allocations: 64.22 kB / 0.5671 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.5802, allocations: 58.95 kB / 0.5672 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.5805, allocations: 247.4 kB / 0.5674 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.5806, allocations: 27.66 kB / 0.5674 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.5806, allocations: 33.53 kB / 0.5675 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.5811, allocations: 292.1 kB / 0.5678 GB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.5812, allocations: 9.594 kB / 0.5678 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.5812, allocations: 23.55 kB / 0.5678 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5812, allocations: 8 kB / 0.5678 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.5815, allocations: 186.7 kB / 0.568 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.5831, allocations: 1.285 MB / 0.5692 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.5836, allocations: 322.1 kB / 0.5695 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.5837, allocations: 107 kB / 0.5696 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.5837, allocations: 11.92 kB / 0.5696 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.5838, allocations: 38.62 kB / 0.5697 GB, free: 7.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/0.5838, allocations: 3.938 kB / 0.5697 GB, free: 7.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.00138/0.5852, allocations: 1.356 MB / 0.571 GB, free: 6.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.5852, allocations: 162.2 kB / 0.5712 GB, free: 6.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.5854, allocations: 197.3 kB / 0.5714 GB, free: 5.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.5854, allocations: 34.83 kB / 0.5714 GB, free: 5.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.5855, allocations: 177.1 kB / 0.5716 GB, free: 5.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.5856, allocations: 151.8 kB / 0.5717 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.5856, allocations: 10.12 kB / 0.5717 GB, free: 5.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.5857, allocations: 343.1 kB / 0.572 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5859, allocations: 94.44 kB / 0.5721 GB, free: 5.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.5861, allocations: 236.8 kB / 0.5724 GB, free: 5.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.5863, allocations: 124.6 kB / 0.5725 GB, free: 4.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5863, allocations: 0 / 0.5725 GB, free: 4.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005286/0.5868, allocations: 405.2 kB / 0.5729 GB, free: 4.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5869, allocations: 8 kB / 0.5729 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5869, allocations: 4.891 kB / 0.5729 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.5869, allocations: 12.36 kB / 0.5729 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.5873, allocations: 119 kB / 0.573 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.5873, allocations: 4 kB / 0.573 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.5875, allocations: 18.48 kB / 0.573 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.5875, allocations: 26.38 kB / 0.573 GB, free: 4.445 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 () * 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 9.201e-05/0.5876, allocations: 134.1 kB / 0.5732 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5877, allocations: 31.62 kB / 0.5732 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.588, allocations: 121.9 kB / 0.5733 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.588, allocations: 8 kB / 0.5733 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.588, allocations: 0 / 0.5733 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.588, allocations: 4 kB / 0.5733 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.5893, allocations: 1.026 MB / 0.5743 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.5893, allocations: 4.188 kB / 0.5743 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.5897, allocations: 95.77 kB / 0.5744 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.5897, allocations: 7.938 kB / 0.5744 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.5898, allocations: 14.5 kB / 0.5744 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.5898, allocations: 15.94 kB / 0.5745 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5898, allocations: 7.953 kB / 0.5745 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.5905, allocations: 0.9512 MB / 0.5754 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.5905, allocations: 100.7 kB / 0.5755 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.5906, allocations: 19.73 kB / 0.5755 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.5909, allocations: 7.938 kB / 0.5755 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.5909, allocations: 35.73 kB / 0.5756 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.5909, allocations: 15.81 kB / 0.5756 GB, free: 1.945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.5911, allocations: 156.2 kB / 0.5757 GB, free: 1.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5911, allocations: 3.938 kB / 0.5757 GB, free: 1.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005118/0.5916, allocations: 87.31 kB / 0.5758 GB, free: 1.734 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 () * 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.0011/0.5927, allocations: 2.326 MB / 0.5781 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004735/0.5932, allocations: 279.5 kB / 0.5783 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.5932, allocations: 0 / 0.5783 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.5934, allocations: 126.9 kB / 0.5785 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.594, allocations: 60.11 kB / 0.5785 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.5964, allocations: 1.243 MB / 0.5797 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.5969, allocations: 0.7884 MB / 0.5805 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.5972, allocations: 42.95 kB / 0.5805 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.5973, allocations: 102.8 kB / 0.5806 GB, free: 12.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5973, allocations: 0 / 0.5806 GB, free: 12.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.6172, allocations: 5.819 MB / 0.5863 GB, free: 7.211 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.6175, allocations: 155.7 kB / 0.5865 GB, free: 6.977 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.696, allocations: 3.938 kB / 0.5865 GB, free: 6.973 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