Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.0009626/0.0009626, allocations: 178.3 kB / 8.005 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.574/1.574, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0007953/0.000795, allocations: 82.64 kB / 261.7 MB, free: 1.691 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.2373/0.2373, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.336e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 58.87 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5891, allocations: 87.06 MB / 0.5511 GB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.5896, allocations: 79.05 kB / 0.5511 GB, free: 7.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01865/0.6082, allocations: 7.759 MB / 0.5587 GB, free: 1.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6083, allocations: 0 / 0.5587 GB, free: 1.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.6083, allocations: 4 kB / 0.5587 GB, free: 1.367 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005298/0.6089, allocations: 0.5054 MB / 0.5592 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6089, allocations: 12.03 kB / 0.5592 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.609, allocations: 31.58 kB / 0.5593 GB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.6094, allocations: 301.6 kB / 0.5595 GB, free: 492 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.6094, allocations: 0 / 0.5595 GB, free: 492 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.6095, allocations: 4 kB / 0.5595 GB, free: 488 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/0.6096, allocations: 41.98 kB / 0.5596 GB, free: 456 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.6097, allocations: 88.3 kB / 0.5597 GB, free: 368 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6097, allocations: 0 / 0.5597 GB, free: 368 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6097, allocations: 0 / 0.5597 GB, free: 368 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6098, allocations: 3.953 kB / 0.5597 GB, free: 364 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.6103, allocations: 454.5 kB / 0.5601 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.6104, allocations: 105.9 kB / 0.5602 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/0.6105, allocations: 37.03 kB / 0.5602 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.6105, allocations: 7.109 kB / 0.5603 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.6107, allocations: 114 kB / 0.5604 GB, free: 15.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.6107, allocations: 0 / 0.5604 GB, free: 15.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007218/0.6115, allocations: 327.4 kB / 0.5607 GB, free: 15.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.6115, allocations: 81.11 kB / 0.5607 GB, free: 15.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.612, allocations: 415.6 kB / 0.5611 GB, free: 14.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.612, allocations: 37.52 kB / 0.5612 GB, free: 14.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.6122, allocations: 157.1 kB / 0.5613 GB, free: 14.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.6122, allocations: 46.55 kB / 0.5614 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.6122, allocations: 0 / 0.5614 GB, free: 14.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6124, allocations: 349.4 kB / 0.5617 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.6125, allocations: 31.06 kB / 0.5617 GB, free: 14.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.6125, allocations: 68.23 kB / 0.5618 GB, free: 14.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.6126, allocations: 37.55 kB / 0.5618 GB, free: 14.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.6126, allocations: 0 / 0.5618 GB, free: 14.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002371/0.6129, allocations: 177.1 kB / 0.562 GB, free: 14.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6129, allocations: 8 kB / 0.562 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6129, allocations: 0 / 0.562 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6129, allocations: 0 / 0.562 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6131, allocations: 39.98 kB / 0.5621 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.6131, allocations: 0 / 0.5621 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.6132, allocations: 11.98 kB / 0.5621 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.6132, allocations: 7.438 kB / 0.5621 GB, free: 14.12 MB / 378.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 9.121e-05/0.6133, allocations: 108.9 kB / 0.5622 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000248/0.6136, allocations: 174.5 kB / 0.5623 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.6136, allocations: 31.62 kB / 0.5624 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.614, allocations: 207.9 kB / 0.5626 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.614, allocations: 4 kB / 0.5626 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.614, allocations: 0 / 0.5626 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.614, allocations: 0 / 0.5626 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.6148, allocations: 0.6544 MB / 0.5632 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6148, allocations: 4 kB / 0.5632 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.6149, allocations: 23.73 kB / 0.5632 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6149, allocations: 7.938 kB / 0.5632 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.6149, allocations: 4 kB / 0.5633 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.6149, allocations: 4.453 kB / 0.5633 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.6149, allocations: 3.984 kB / 0.5633 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.6154, allocations: 406.7 kB / 0.5636 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.6155, allocations: 124 kB / 0.5638 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.6156, allocations: 15.94 kB / 0.5638 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.6157, allocations: 4 kB / 0.5638 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.6158, allocations: 15.61 kB / 0.5638 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.6158, allocations: 11.98 kB / 0.5638 GB, free: 12.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003385/0.6161, allocations: 336.4 kB / 0.5641 GB, free: 12.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6161, allocations: 0 / 0.5641 GB, free: 12.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.6165, allocations: 55.56 kB / 0.5642 GB, free: 12.12 MB / 378.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.001758/0.6183, allocations: 1.426 MB / 0.5656 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.6185, allocations: 108.2 kB / 0.5657 GB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6185, allocations: 0 / 0.5657 GB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.6186, allocations: 61.55 kB / 0.5657 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.6191, allocations: 44.17 kB / 0.5658 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.62, allocations: 0.5218 MB / 0.5663 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.6204, allocations: 0.7838 MB / 0.5671 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.6206, allocations: 44.58 kB / 0.5671 GB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.6207, allocations: 92.53 kB / 0.5672 GB, free: 9.199 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6207, allocations: 0 / 0.5672 GB, free: 9.199 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.6481, allocations: 5.379 MB / 0.5724 GB, free: 3.828 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/0.6484, allocations: 160.9 kB / 0.5726 GB, free: 3.637 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.538, allocations: 4 kB / 0.5726 GB, free: 3.633 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat