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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.0009967, allocations: 96.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 181.9 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003165, allocations: 13.84 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002755/0.1426, allocations: 2.228 MB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1441, allocations: 0.9005 MB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1442, allocations: 7.938 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.786e-05/0.1443, allocations: 35.69 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1446, allocations: 119.7 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.1451, allocations: 123.6 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.1454, allocations: 267.4 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.1457, allocations: 69.56 kB / 475.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1458, allocations: 119.6 kB / 475.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.146, allocations: 139.4 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.1461, allocations: 12 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1462, allocations: 32 kB / 475.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.1462, allocations: 59.75 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.1463, allocations: 81.58 kB / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.1466, allocations: 259.5 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1466, allocations: 4 kB / 476 MB, free: 9.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1467, allocations: 3.938 kB / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1467, allocations: 0 / 476 MB, free: 9.184 MB / 350.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.001001/0.1477, allocations: 0.5729 MB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1477, allocations: 8.031 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.134e-05/0.1478, allocations: 66.53 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.1481, allocations: 47.61 kB / 476.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1484, allocations: 262.5 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.1485, allocations: 20.66 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.1485, allocations: 35.95 kB / 477 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.1491, allocations: 306.7 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1491, allocations: 3.906 kB / 477.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.1491, allocations: 16 kB / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1492, allocations: 11.98 kB / 477.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.1495, allocations: 196.4 kB / 477.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1513, allocations: 1.285 MB / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.1518, allocations: 328.8 kB / 479.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1519, allocations: 4 kB / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1519, allocations: 47.34 kB / 479.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.914e-06/0.1519, allocations: 0 / 479.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002598/0.1545, allocations: 1.573 MB / 480.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1546, allocations: 170.2 kB / 480.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1549, allocations: 217 kB / 481.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1549, allocations: 33.7 kB / 481.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.155, allocations: 176.2 kB / 481.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1551, allocations: 149.8 kB / 481.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.1552, allocations: 8 kB / 481.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1553, allocations: 346.8 kB / 481.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1555, allocations: 89.08 kB / 481.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.1558, allocations: 244.2 kB / 482.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.156, allocations: 137.3 kB / 482.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.156, allocations: 0 / 482.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005924/0.1566, allocations: 413.5 kB / 482.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.1567, allocations: 11.95 kB / 482.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1567, allocations: 4.375 kB / 482.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1567, allocations: 12 kB / 482.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.1571, allocations: 115.8 kB / 482.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.1571, allocations: 8 kB / 482.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.1573, allocations: 23.89 kB / 482.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.1574, allocations: 20 kB / 482.8 MB, free: 1.68 MB / 350.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 () * 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.0001616/0.1575, allocations: 158.2 kB / 483 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1577, allocations: 27.72 kB / 483 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.1579, allocations: 127.3 kB / 483.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1579, allocations: 4 kB / 483.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1579, allocations: 4 kB / 483.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1579, allocations: 0 / 483.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.1594, allocations: 1.042 MB / 484.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1594, allocations: 4 kB / 484.2 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.1599, allocations: 95.89 kB / 484.3 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1599, allocations: 4 kB / 484.3 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.1599, allocations: 16.25 kB / 484.3 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.1599, allocations: 11.92 kB / 484.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1599, allocations: 4 kB / 484.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.1608, allocations: 0.9641 MB / 485.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.1609, allocations: 112.7 kB / 485.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.161, allocations: 12 kB / 485.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.1613, allocations: 12 kB / 485.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.1614, allocations: 31.97 kB / 485.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.1614, allocations: 23.92 kB / 485.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1616, allocations: 152.5 kB / 485.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1616, allocations: 0 / 485.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.1621, allocations: 84 kB / 485.7 MB, free: 14.57 MB / 366.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 () * 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.001686/0.1638, allocations: 2.329 MB / 488 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000479/0.1643, allocations: 271.4 kB / 488.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1643, allocations: 0 / 488.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.1645, allocations: 132.6 kB / 488.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.1652, allocations: 72.81 kB / 488.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.1699, allocations: 5.583 MB / 494.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.1704, allocations: 0.7923 MB / 494.9 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.1706, allocations: 39.33 kB / 494.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.1708, allocations: 115.3 kB / 495 MB, free: 4.949 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1708, allocations: 4 kB / 495 MB, free: 4.945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.1897, allocations: 5.815 MB / 0.4891 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/0.19, allocations: 180.6 kB / 0.4893 GB, free: 15.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.977, allocations: 0 / 0.4893 GB, free: 15.02 MB / 382.1 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