Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001145/0.001145, allocations: 183.2 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.489/1.489, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0009096/0.0009096, allocations: 88.41 kB / 267 MB, free: 9.277 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.3582/0.3582, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.856e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 58.86 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4244/0.5553, allocations: 87.61 MB / 0.5585 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.5556, allocations: 73.3 kB / 0.5585 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.57, allocations: 5.713 MB / 0.5641 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5701, allocations: 4.547 kB / 0.5641 GB, free: 13.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.5701, allocations: 8 kB / 0.5641 GB, free: 13.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004613/0.5705, allocations: 431.1 kB / 0.5646 GB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.5706, allocations: 8.031 kB / 0.5646 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.5707, allocations: 34.56 kB / 0.5646 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.5707, allocations: 11.34 kB / 0.5646 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.571, allocations: 234.9 kB / 0.5648 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.571, allocations: 3.75 kB / 0.5648 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.5711, allocations: 11.98 kB / 0.5648 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.5712, allocations: 49.44 kB / 0.5649 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5712, allocations: 0 / 0.5649 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5712, allocations: 1.375 kB / 0.5649 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.5712, allocations: 0 / 0.5649 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.5713, allocations: 20.55 kB / 0.5649 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.5717, allocations: 311.6 kB / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5718, allocations: 62.12 kB / 0.5653 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.5718, allocations: 16.67 kB / 0.5653 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.5719, allocations: 0 / 0.5653 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.572, allocations: 74.64 kB / 0.5654 GB, free: 11.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.572, allocations: 0 / 0.5654 GB, free: 11.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004126/0.5724, allocations: 171.4 kB / 0.5655 GB, free: 11.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5725, allocations: 55.41 kB / 0.5656 GB, free: 11.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.5727, allocations: 245.1 kB / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.5727, allocations: 25.7 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.5727, allocations: 115.5 kB / 0.5659 GB, free: 11.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.5728, allocations: 23.59 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.5728, allocations: 3.625 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.5729, allocations: 330.6 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.5729, allocations: 19.12 kB / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.975e-05/0.5729, allocations: 44.17 kB / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.573, allocations: 15.81 kB / 0.5664 GB, free: 10.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.573, allocations: 0 / 0.5664 GB, free: 10.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001274/0.5731, allocations: 108.7 kB / 0.5665 GB, free: 10.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5732, allocations: 8 kB / 0.5665 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5732, allocations: 0 / 0.5665 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5732, allocations: 0 / 0.5665 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.5733, allocations: 15.98 kB / 0.5665 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5733, allocations: 12.14 kB / 0.5665 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.5733, allocations: 7.891 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.5734, allocations: 7.984 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.912e-05/0.5734, allocations: 108.4 kB / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.5734, allocations: 11.91 kB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.5736, allocations: 125.2 kB / 0.5667 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5737, allocations: 4 kB / 0.5667 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5737, allocations: 0 / 0.5667 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5737, allocations: 7.953 kB / 0.5668 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.5741, allocations: 436.7 kB / 0.5672 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5741, allocations: 0 / 0.5672 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.5741, allocations: 15.92 kB / 0.5672 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5741, allocations: 0 / 0.5672 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5741, allocations: 7.953 kB / 0.5672 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5741, allocations: 0 / 0.5672 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5742, allocations: 0 / 0.5672 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.5743, allocations: 221.7 kB / 0.5674 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.5744, allocations: 108.6 kB / 0.5675 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.5744, allocations: 9.359 kB / 0.5675 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.5745, allocations: 3.875 kB / 0.5675 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.5745, allocations: 7.984 kB / 0.5675 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.5746, allocations: 4 kB / 0.5675 GB, free: 9.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.5747, allocations: 203.5 kB / 0.5677 GB, free: 9.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5747, allocations: 0 / 0.5677 GB, free: 9.418 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.575, allocations: 39.86 kB / 0.5678 GB, free: 9.383 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001155/0.5761, allocations: 1.134 MB / 0.5689 GB, free: 8.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.5763, allocations: 58.48 kB / 0.5689 GB, free: 8.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5763, allocations: 4 kB / 0.5689 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.5763, allocations: 31.88 kB / 0.569 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.5766, allocations: 24.75 kB / 0.569 GB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.5771, allocations: 311.6 kB / 0.5693 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.5773, allocations: 0.7238 MB / 0.57 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.5774, allocations: 24.91 kB / 0.57 GB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.5774, allocations: 46.17 kB / 0.5701 GB, free: 7.117 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5774, allocations: 4 kB / 0.5701 GB, free: 7.113 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.5913, allocations: 3.51 MB / 0.5735 GB, free: 3.641 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.5915, allocations: 178.6 kB / 0.5737 GB, free: 3.422 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.247, allocations: 0 / 0.5737 GB, free: 3.422 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat