Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.0009522/0.0009521, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009086/0.0009088, allocations: 91.81 kB / 261.7 MB, free: 1.676 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.2147/0.2147, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.252e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5608, allocations: 86.96 MB / 0.551 GB, free: 7.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.561, allocations: 74.31 kB / 0.551 GB, free: 7.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.5746, allocations: 5.532 MB / 0.5564 GB, free: 3.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5746, allocations: 4 kB / 0.5564 GB, free: 3.207 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.5746, allocations: 0 / 0.5564 GB, free: 3.207 MB / 362.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.0004214/0.575, allocations: 413.7 kB / 0.5568 GB, free: 2.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5751, allocations: 8.031 kB / 0.5568 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.5752, allocations: 15.81 kB / 0.5568 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.5755, allocations: 219.8 kB / 0.5571 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.5755, allocations: 4 kB / 0.5571 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.5755, allocations: 3.938 kB / 0.5571 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.2e-05/0.5756, allocations: 25.3 kB / 0.5571 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.997e-05/0.5757, allocations: 52.05 kB / 0.5571 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5757, allocations: 0 / 0.5571 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5758, allocations: 0 / 0.5571 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5758, allocations: 0 / 0.5571 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.5761, allocations: 279.8 kB / 0.5574 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5763, allocations: 49.19 kB / 0.5574 GB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.5763, allocations: 23.36 kB / 0.5575 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.5763, allocations: 7.984 kB / 0.5575 GB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.5765, allocations: 71.02 kB / 0.5575 GB, free: 1.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.5765, allocations: 0 / 0.5575 GB, free: 1.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005056/0.577, allocations: 146.2 kB / 0.5577 GB, free: 1.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.577, allocations: 58.7 kB / 0.5577 GB, free: 1.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.5773, allocations: 202.9 kB / 0.5579 GB, free: 1.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.5773, allocations: 25.7 kB / 0.558 GB, free: 1.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.5773, allocations: 106.1 kB / 0.5581 GB, free: 1.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.5774, allocations: 26.47 kB / 0.5581 GB, free: 1.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.5774, allocations: 0 / 0.5581 GB, free: 1.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.5775, allocations: 326.4 kB / 0.5584 GB, free: 1.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.5775, allocations: 17.75 kB / 0.5584 GB, free: 1.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.5776, allocations: 35.45 kB / 0.5584 GB, free: 1.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.5776, allocations: 18.17 kB / 0.5585 GB, free: 1.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.5777, allocations: 0 / 0.5585 GB, free: 1.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.5778, allocations: 94.61 kB / 0.5586 GB, free: 1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5778, allocations: 4 kB / 0.5586 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5778, allocations: 8.031 kB / 0.5586 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.5779, allocations: 0 / 0.5586 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.578, allocations: 16.17 kB / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.578, allocations: 0 / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.578, allocations: 8 kB / 0.5586 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.5781, allocations: 11.33 kB / 0.5586 GB, free: 0.957 MB / 362.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 6.943e-05/0.5781, allocations: 104.9 kB / 0.5587 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001337/0.5783, allocations: 99.17 kB / 0.5588 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.5783, allocations: 11.81 kB / 0.5588 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.5785, allocations: 122.8 kB / 0.5589 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5785, allocations: 0 / 0.5589 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5785, allocations: 3.953 kB / 0.5589 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.5786, allocations: 0 / 0.5589 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.5789, allocations: 387.2 kB / 0.5593 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5789, allocations: 0 / 0.5593 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.579, allocations: 11.98 kB / 0.5593 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.579, allocations: 4.031 kB / 0.5593 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.579, allocations: 4 kB / 0.5593 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.579, allocations: 3.953 kB / 0.5593 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.579, allocations: 0 / 0.5593 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.5792, allocations: 214 kB / 0.5595 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.5793, allocations: 96.31 kB / 0.5596 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.5794, allocations: 7.953 kB / 0.5596 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.5794, allocations: 4 kB / 0.5596 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.5795, allocations: 11.36 kB / 0.5596 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.5795, allocations: 4 kB / 0.5596 GB, free: 15.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.5797, allocations: 157.3 kB / 0.5598 GB, free: 15.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5797, allocations: 0 / 0.5598 GB, free: 15.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.58, allocations: 31.92 kB / 0.5598 GB, free: 15.72 MB / 378.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.001363/0.5813, allocations: 1.11 MB / 0.5609 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.5815, allocations: 48.78 kB / 0.561 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5815, allocations: 0 / 0.561 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.16e-05/0.5816, allocations: 38.11 kB / 0.561 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.5819, allocations: 19.67 kB / 0.561 GB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.5826, allocations: 252.7 kB / 0.5613 GB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.5829, allocations: 0.708 MB / 0.5619 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.583, allocations: 20.55 kB / 0.562 GB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.583, allocations: 39.67 kB / 0.562 GB, free: 13.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.583, allocations: 0 / 0.562 GB, free: 13.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.6059, allocations: 2.861 MB / 0.5648 GB, free: 10.69 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.6062, allocations: 170.4 kB / 0.565 GB, free: 10.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.107, allocations: 0 / 0.565 GB, free: 10.49 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat