Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001407/0.001407, allocations: 182.8 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.809/1.809, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000964/0.0009639, allocations: 92.25 kB / 267.1 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.4052/0.4052, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.066e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4917/0.6404, allocations: 87.73 MB / 0.5586 GB, free: 16.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.6407, allocations: 73.95 kB / 0.5587 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02079/0.6615, allocations: 7.5 MB / 0.566 GB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6616, allocations: 0 / 0.566 GB, free: 11.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.6616, allocations: 4 kB / 0.566 GB, free: 11.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005512/0.6622, allocations: 486.6 kB / 0.5665 GB, free: 11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.6622, allocations: 12.03 kB / 0.5665 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.6623, allocations: 37.42 kB / 0.5665 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.6623, allocations: 27.16 kB / 0.5665 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.6627, allocations: 274.5 kB / 0.5668 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.6628, allocations: 3.984 kB / 0.5668 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.6628, allocations: 7.375 kB / 0.5668 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.663, allocations: 92.75 kB / 0.5669 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.663, allocations: 0 / 0.5669 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.663, allocations: 4.625 kB / 0.5669 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.663, allocations: 4 kB / 0.5669 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.6631, allocations: 45.72 kB / 0.5669 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.6636, allocations: 452.5 kB / 0.5674 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.6638, allocations: 114.4 kB / 0.5675 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.6638, allocations: 39.16 kB / 0.5675 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.6639, allocations: 4 kB / 0.5675 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.664, allocations: 114.3 kB / 0.5676 GB, free: 9.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.465e-06/0.6641, allocations: 3.984 kB / 0.5676 GB, free: 9.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006922/0.6648, allocations: 322.8 kB / 0.5679 GB, free: 9.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.6648, allocations: 81.11 kB / 0.568 GB, free: 9.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.6652, allocations: 327 kB / 0.5683 GB, free: 9.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.6652, allocations: 28.95 kB / 0.5684 GB, free: 9.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.6653, allocations: 143.7 kB / 0.5685 GB, free: 8.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.6653, allocations: 49.98 kB / 0.5685 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.6653, allocations: 3 kB / 0.5685 GB, free: 8.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.6654, allocations: 339.1 kB / 0.5689 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.6655, allocations: 41.11 kB / 0.5689 GB, free: 8.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.6656, allocations: 64 kB / 0.569 GB, free: 8.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.6657, allocations: 50.78 kB / 0.569 GB, free: 8.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.6657, allocations: 0 / 0.569 GB, free: 8.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002523/0.6659, allocations: 177.6 kB / 0.5692 GB, free: 8.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.666, allocations: 4.781 kB / 0.5692 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.666, allocations: 0 / 0.5692 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.666, allocations: 4 kB / 0.5692 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.6662, allocations: 31.97 kB / 0.5692 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.6662, allocations: 4.312 kB / 0.5692 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.6663, allocations: 11.19 kB / 0.5692 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.6663, allocations: 8 kB / 0.5692 GB, free: 8.297 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.33e-05/0.6664, allocations: 119.5 kB / 0.5694 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.6664, allocations: 31.66 kB / 0.5694 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.6668, allocations: 209.8 kB / 0.5696 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6668, allocations: 4 kB / 0.5696 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6668, allocations: 0 / 0.5696 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6668, allocations: 7.922 kB / 0.5696 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.6676, allocations: 0.6539 MB / 0.5702 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6676, allocations: 0 / 0.5702 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.6677, allocations: 19.98 kB / 0.5703 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.6677, allocations: 4 kB / 0.5703 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6677, allocations: 3.5 kB / 0.5703 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6677, allocations: 7.984 kB / 0.5703 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6677, allocations: 8 kB / 0.5703 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.668, allocations: 397.6 kB / 0.5707 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.6681, allocations: 126 kB / 0.5708 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6681, allocations: 7.125 kB / 0.5708 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.6683, allocations: 11.89 kB / 0.5708 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.6683, allocations: 11.98 kB / 0.5708 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.6684, allocations: 11.8 kB / 0.5708 GB, free: 6.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.6686, allocations: 256.9 kB / 0.5711 GB, free: 6.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6686, allocations: 0 / 0.5711 GB, free: 6.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000332/0.6689, allocations: 59 kB / 0.5711 GB, free: 6.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001463/0.6704, allocations: 1.467 MB / 0.5726 GB, free: 5.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.6706, allocations: 119.5 kB / 0.5727 GB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6707, allocations: 4 kB / 0.5727 GB, free: 5.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.6708, allocations: 62.23 kB / 0.5727 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.6712, allocations: 48.05 kB / 0.5728 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.6721, allocations: 424.4 kB / 0.5732 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.6723, allocations: 0.7593 MB / 0.5739 GB, free: 3.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.697e-05/0.6724, allocations: 42.12 kB / 0.574 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.6725, allocations: 76.53 kB / 0.574 GB, free: 3.656 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6725, allocations: 0 / 0.574 GB, free: 3.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.6897, allocations: 5.127 MB / 0.579 GB, free: 14.56 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.69, allocations: 187.6 kB / 0.5792 GB, free: 14.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.613, allocations: 3.938 kB / 0.5792 GB, free: 14.32 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat