Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",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.0015/0.0015, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001813/0.001813, allocations: 94.05 kB / 270.9 MB, free: 8.375 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.5688/0.5688, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007882/0.0007884, allocations: 15.98 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1365, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4999/0.6364, allocations: 87.71 MB / 0.5645 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.6368, allocations: 79.95 kB / 0.5646 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0257/0.6625, allocations: 5.381 MB / 0.5698 GB, free: 9.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6626, allocations: 0.5469 kB / 0.5698 GB, free: 9.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.6626, allocations: 0 / 0.5698 GB, free: 9.27 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.0007266/0.6633, allocations: 430.3 kB / 0.5702 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6634, allocations: 8.031 kB / 0.5702 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.6635, allocations: 34.55 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.6635, allocations: 11.34 kB / 0.5703 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.6639, allocations: 217.9 kB / 0.5705 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.664, allocations: 4 kB / 0.5705 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.664, allocations: 4 kB / 0.5705 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.6642, allocations: 53.67 kB / 0.5706 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.6642, allocations: 3.938 kB / 0.5706 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.6643, allocations: 1.688 kB / 0.5706 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.6643, allocations: 8.969 kB / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.6644, allocations: 19.97 kB / 0.5706 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.6649, allocations: 301.7 kB / 0.5709 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.6652, allocations: 62.61 kB / 0.5709 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.6653, allocations: 0 / 0.5709 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.6655, allocations: 67.52 kB / 0.571 GB, free: 7.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.6655, allocations: 4 kB / 0.571 GB, free: 7.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008593/0.6664, allocations: 182 kB / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.6665, allocations: 51.41 kB / 0.5712 GB, free: 7.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.6668, allocations: 169.4 kB / 0.5714 GB, free: 7.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.6668, allocations: 29.7 kB / 0.5714 GB, free: 7.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.6669, allocations: 162.6 kB / 0.5716 GB, free: 7.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.667, allocations: 27.64 kB / 0.5716 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.667, allocations: 0 / 0.5716 GB, free: 7.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6671, allocations: 322.8 kB / 0.5719 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/0.6672, allocations: 16 kB / 0.5719 GB, free: 6.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.6674, allocations: 35.67 kB / 0.572 GB, free: 6.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.6675, allocations: 35.92 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6675, allocations: 0 / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002934/0.6678, allocations: 86.38 kB / 0.5721 GB, free: 6.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.6679, allocations: 11.98 kB / 0.5721 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6679, allocations: 4.031 kB / 0.5721 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6679, allocations: 0 / 0.5721 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.6681, allocations: 19.94 kB / 0.5721 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6681, allocations: 7.953 kB / 0.5721 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.6682, allocations: 0 / 0.5721 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.6682, allocations: 7.984 kB / 0.5721 GB, free: 6.707 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 () * Number of clocked 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.0001421/0.6683, allocations: 125.8 kB / 0.5722 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.6684, allocations: 11.91 kB / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.6688, allocations: 130.6 kB / 0.5724 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6688, allocations: 0 / 0.5724 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6688, allocations: 3.984 kB / 0.5724 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.6689, allocations: 3.953 kB / 0.5724 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.6696, allocations: 411.2 kB / 0.5728 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6696, allocations: 0 / 0.5728 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.6697, allocations: 8 kB / 0.5728 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6697, allocations: 7.938 kB / 0.5728 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.6697, allocations: 8.016 kB / 0.5728 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.6698, allocations: 3.953 kB / 0.5728 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6698, allocations: 7.938 kB / 0.5728 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.6702, allocations: 210 kB / 0.573 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.6703, allocations: 93 kB / 0.5731 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.6703, allocations: 7.891 kB / 0.5731 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6705, allocations: 12 kB / 0.5731 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.6705, allocations: 7.984 kB / 0.5731 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.6706, allocations: 4 kB / 0.5731 GB, free: 5.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.6708, allocations: 144.8 kB / 0.5733 GB, free: 5.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6708, allocations: 0 / 0.5733 GB, free: 5.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.6712, allocations: 31.94 kB / 0.5733 GB, free: 5.379 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) * Number of clocked states: 0 () * 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.002086/0.6733, allocations: 1.202 MB / 0.5745 GB, free: 4.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.6737, allocations: 59.92 kB / 0.5745 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6737, allocations: 0 / 0.5745 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.6738, allocations: 31.92 kB / 0.5746 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.6743, allocations: 31.41 kB / 0.5746 GB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.6762, allocations: 0.8981 MB / 0.5755 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.6767, allocations: 0.7082 MB / 0.5762 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.6768, allocations: 35.53 kB / 0.5762 GB, free: 2.406 MB / 394.7 MB Notification: Performance of SimCode: time 1.143e-06/0.6768, allocations: 3.938 kB / 0.5762 GB, free: 2.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.767/3.444, allocations: 2.452 MB / 0.5786 GB, free: 15.96 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat