Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 175.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009478, allocations: 86.34 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4315/0.4315, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 16 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4704, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.6271, allocations: 89.55 MB / 0.5971 GB, free: 5.555 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.6274, allocations: 83.91 kB / 0.5972 GB, free: 5.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03159/0.659, allocations: 8.426 MB / 0.6054 GB, free: 13.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.659, allocations: 4 kB / 0.6054 GB, free: 13.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.751e-05/0.6591, allocations: 11.88 kB / 0.6054 GB, free: 13.03 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001056/0.6602, allocations: 0.5641 MB / 0.606 GB, free: 12.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6602, allocations: 8.031 kB / 0.606 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.6603, allocations: 42.55 kB / 0.606 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.6604, allocations: 27.62 kB / 0.606 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.6612, allocations: 314.9 kB / 0.6063 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.6612, allocations: 0 / 0.6063 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.6612, allocations: 15.91 kB / 0.6064 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.6616, allocations: 107.3 kB / 0.6065 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.6616, allocations: 0 / 0.6065 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.6617, allocations: 0 / 0.6065 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.6617, allocations: 4 kB / 0.6065 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.6619, allocations: 51.89 kB / 0.6065 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009718/0.6629, allocations: 0.4968 MB / 0.607 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.6635, allocations: 125.2 kB / 0.6071 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.6636, allocations: 8 kB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.6639, allocations: 118 kB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/0.6639, allocations: 0 / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.002268/0.6662, allocations: 0.527 MB / 0.6078 GB, free: 10.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.6663, allocations: 77.11 kB / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009311/0.6673, allocations: 440.8 kB / 0.6082 GB, free: 9.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.6673, allocations: 33.64 kB / 0.6083 GB, free: 9.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.6675, allocations: 156.5 kB / 0.6084 GB, free: 9.699 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.6676, allocations: 75 kB / 0.6085 GB, free: 9.625 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.6676, allocations: 4 kB / 0.6085 GB, free: 9.621 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.6679, allocations: 346.8 kB / 0.6088 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.6681, allocations: 55.97 kB / 0.6089 GB, free: 9.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.6684, allocations: 93.8 kB / 0.609 GB, free: 9.117 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.6687, allocations: 71.92 kB / 0.609 GB, free: 9.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6687, allocations: 0 / 0.609 GB, free: 9.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007206/0.6694, allocations: 237.2 kB / 0.6093 GB, free: 8.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.6695, allocations: 9.516 kB / 0.6093 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6695, allocations: 7.922 kB / 0.6093 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.6695, allocations: 4 kB / 0.6093 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.6698, allocations: 35.98 kB / 0.6093 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.6698, allocations: 5.172 kB / 0.6093 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.67, allocations: 8 kB / 0.6093 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.6701, allocations: 15.92 kB / 0.6094 GB, free: 8.727 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002812/0.6704, allocations: 183.7 kB / 0.6095 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.6705, allocations: 35.53 kB / 0.6096 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/0.6714, allocations: 284.6 kB / 0.6098 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6715, allocations: 4 kB / 0.6098 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.6715, allocations: 0 / 0.6098 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6715, allocations: 0 / 0.6098 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.6734, allocations: 0.813 MB / 0.6106 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6734, allocations: 0 / 0.6106 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.6736, allocations: 35.92 kB / 0.6107 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.6736, allocations: 4 kB / 0.6107 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.6737, allocations: 12.12 kB / 0.6107 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6737, allocations: 0 / 0.6107 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6737, allocations: 4 kB / 0.6107 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.6747, allocations: 0.4975 MB / 0.6112 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.6749, allocations: 128.7 kB / 0.6113 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.675, allocations: 12 kB / 0.6113 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.6753, allocations: 7.984 kB / 0.6113 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.6754, allocations: 23.98 kB / 0.6113 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.6755, allocations: 15.98 kB / 0.6114 GB, free: 6.516 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007166/0.6762, allocations: 347.1 kB / 0.6117 GB, free: 6.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.171e-05/0.6762, allocations: 0 / 0.6117 GB, free: 6.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007289/0.677, allocations: 79.86 kB / 0.6118 GB, free: 6.102 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.003257/0.6803, allocations: 1.799 MB / 0.6135 GB, free: 4.461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006718/0.681, allocations: 178.6 kB / 0.6137 GB, free: 4.289 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.681, allocations: 0 / 0.6137 GB, free: 4.289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.6813, allocations: 83.84 kB / 0.6138 GB, free: 4.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.6821, allocations: 60.58 kB / 0.6138 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.687, allocations: 2.217 MB / 0.616 GB, free: 1.855 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.6876, allocations: 0.7953 MB / 0.6168 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.6879, allocations: 45.92 kB / 0.6168 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.6881, allocations: 115.3 kB / 0.6169 GB, free: 0.875 MB / 426.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6881, allocations: 0 / 0.6169 GB, free: 0.875 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.714, allocations: 6.352 MB / 0.6231 GB, free: 10.68 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.7143, allocations: 222.1 kB / 0.6233 GB, free: 10.43 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.772, allocations: 0 / 0.6233 GB, free: 10.43 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat