Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",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.002399/0.002399, 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 2.156/2.156, 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.001119/0.001119, allocations: 95.05 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.3281/0.3281, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.422e-05, allocations: 8.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4636, allocations: 58.86 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.6333, allocations: 86.96 MB / 0.5509 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.6337, allocations: 75.95 kB / 0.551 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02578/0.6595, allocations: 5.509 MB / 0.5564 GB, free: 6.758 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.439e-06/0.6595, allocations: 0 / 0.5564 GB, free: 6.758 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.6595, allocations: 11.88 kB / 0.5564 GB, free: 6.746 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006589/0.6602, allocations: 402.9 kB / 0.5568 GB, free: 6.309 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.6603, allocations: 12.03 kB / 0.5568 GB, free: 6.297 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.6604, allocations: 11.81 kB / 0.5568 GB, free: 6.285 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.6608, allocations: 226.7 kB / 0.557 GB, free: 6.023 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6609, allocations: 4 kB / 0.557 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.6609, allocations: 4 kB / 0.557 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.661, allocations: 16 kB / 0.557 GB, free: 6 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.6611, allocations: 49.67 kB / 0.5571 GB, free: 5.945 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6612, allocations: 4 kB / 0.5571 GB, free: 5.941 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.6612, allocations: 3.938 kB / 0.5571 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-06/0.6612, allocations: 0 / 0.5571 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.6617, allocations: 277.4 kB / 0.5574 GB, free: 5.629 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.6619, allocations: 58.62 kB / 0.5574 GB, free: 5.562 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.662, allocations: 16.98 kB / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.662, allocations: 0 / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.6622, allocations: 67.39 kB / 0.5575 GB, free: 5.465 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.6622, allocations: 0 / 0.5575 GB, free: 5.465 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006227/0.6628, allocations: 149.2 kB / 0.5576 GB, free: 5.312 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.6629, allocations: 51.41 kB / 0.5577 GB, free: 5.25 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.6632, allocations: 209.6 kB / 0.5579 GB, free: 5.031 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.6633, allocations: 25.7 kB / 0.5579 GB, free: 5 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.6634, allocations: 166.6 kB / 0.5581 GB, free: 4.836 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.6635, allocations: 27.64 kB / 0.5581 GB, free: 4.809 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.6635, allocations: 0 / 0.5581 GB, free: 4.809 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6636, allocations: 310.8 kB / 0.5584 GB, free: 4.496 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.6637, allocations: 24 kB / 0.5584 GB, free: 4.473 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.6638, allocations: 33.7 kB / 0.5584 GB, free: 4.434 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.6639, allocations: 23.92 kB / 0.5585 GB, free: 4.41 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6639, allocations: 4 kB / 0.5585 GB, free: 4.406 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002184/0.6641, allocations: 73.69 kB / 0.5585 GB, free: 4.328 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6642, allocations: 8 kB / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6642, allocations: 0 / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6642, allocations: 0 / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.6644, allocations: 23.95 kB / 0.5586 GB, free: 4.297 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6644, allocations: 4 kB / 0.5586 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.6645, allocations: 192 / 0.5586 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.6645, allocations: 11.95 kB / 0.5586 GB, free: 4.281 MB / 395.1 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 0.0001024/0.6647, allocations: 105 kB / 0.5587 GB, free: 4.172 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002622/0.6649, allocations: 101.5 kB / 0.5588 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.665, allocations: 11.91 kB / 0.5588 GB, free: 4.055 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.6653, allocations: 111.6 kB / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6653, allocations: 4 kB / 0.5589 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6654, allocations: 4.047 kB / 0.5589 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.6654, allocations: 3.938 kB / 0.5589 GB, free: 3.93 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.6661, allocations: 387.8 kB / 0.5593 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.872e-06/0.6661, allocations: 3.984 kB / 0.5593 GB, free: 3.5 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.983e-05/0.6662, allocations: 11.98 kB / 0.5593 GB, free: 3.488 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.6662, allocations: 0 / 0.5593 GB, free: 3.488 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.6663, allocations: 4 kB / 0.5593 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.6663, allocations: 3.953 kB / 0.5593 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.6663, allocations: 7.969 kB / 0.5593 GB, free: 3.473 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.6666, allocations: 210.3 kB / 0.5595 GB, free: 3.242 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.6668, allocations: 96.91 kB / 0.5596 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.6668, allocations: 7.953 kB / 0.5596 GB, free: 3.121 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.667, allocations: 4 kB / 0.5596 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.667, allocations: 19.86 kB / 0.5596 GB, free: 3.098 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.6671, allocations: 4 kB / 0.5596 GB, free: 3.094 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002489/0.6673, allocations: 155.2 kB / 0.5598 GB, free: 2.941 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6673, allocations: 0 / 0.5598 GB, free: 2.941 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.6677, allocations: 39.92 kB / 0.5598 GB, free: 2.902 MB / 395.1 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.001841/0.6696, allocations: 1.102 MB / 0.5609 GB, free: 1.824 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.6699, allocations: 55.92 kB / 0.561 GB, free: 1.77 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6699, allocations: 0 / 0.561 GB, free: 1.77 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.67, allocations: 24 kB / 0.561 GB, free: 1.746 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.6705, allocations: 24.03 kB / 0.561 GB, free: 1.719 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.6715, allocations: 285.3 kB / 0.5613 GB, free: 1.395 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.6721, allocations: 0.7158 MB / 0.562 GB, free: 0.6523 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6722, allocations: 39.42 kB / 0.562 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6722, allocations: 0 / 0.562 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.666/3.338, allocations: 2.666 MB / 0.5646 GB, free: 13.96 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat