Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008874, allocations: 93.17 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009149/0.0009151, allocations: 180.9 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.231/0.231, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003262, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00338/0.1461, allocations: 1.387 MB / 472.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1478, allocations: 0.7959 MB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.148, allocations: 4 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1483, allocations: 31.78 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.1485, allocations: 43.88 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1489, allocations: 91.33 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1491, allocations: 63.86 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1492, allocations: 12.22 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1493, allocations: 39.84 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.1494, allocations: 23.86 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1495, allocations: 4 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1496, allocations: 27.98 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.1496, allocations: 15.91 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.1497, allocations: 37.64 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1499, allocations: 88.09 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1499, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1499, allocations: 3.938 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1499, allocations: 0 / 474.2 MB, free: 10.95 MB / 350.1 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.0005867/0.1505, allocations: 395 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1505, allocations: 8.031 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.1506, allocations: 38.55 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1506, allocations: 11.81 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1509, allocations: 202.8 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1509, allocations: 0 / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.151, allocations: 7.953 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1511, allocations: 57.66 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1511, allocations: 4 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1512, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1512, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.1513, allocations: 19.98 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.1516, allocations: 284.8 kB / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1518, allocations: 62.67 kB / 475.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1519, allocations: 4 kB / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.152, allocations: 67.45 kB / 475.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1521, allocations: 0 / 475.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005647/0.1526, allocations: 169.2 kB / 475.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1527, allocations: 59.34 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1529, allocations: 190.1 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1529, allocations: 33.64 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.153, allocations: 108.1 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.153, allocations: 15.72 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.153, allocations: 4 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1532, allocations: 326.8 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.1532, allocations: 23.98 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.1533, allocations: 33.7 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.1534, allocations: 24 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1534, allocations: 0 / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.1536, allocations: 105.4 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1536, allocations: 8 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1536, allocations: 0 / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1536, allocations: 0 / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.1537, allocations: 20 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1537, allocations: 3.984 kB / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.1538, allocations: 0 / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.1538, allocations: 8.031 kB / 476.4 MB, free: 8.473 MB / 350.1 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.0001289/0.1539, allocations: 130.3 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.154, allocations: 15.89 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.154, allocations: 12.72 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.154, allocations: 0 / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.154, allocations: 0 / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.154, allocations: 0 / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.1545, allocations: 395.3 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1545, allocations: 0 / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.1546, allocations: 11.98 kB / 477 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1546, allocations: 0 / 477 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1546, allocations: 4 kB / 477 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1546, allocations: 0 / 477 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1546, allocations: 0 / 477 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1549, allocations: 230 kB / 477.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.1549, allocations: 89 kB / 477.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.155, allocations: 4.375 kB / 477.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.155, allocations: 4 kB / 477.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1551, allocations: 7.984 kB / 477.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1551, allocations: 11.94 kB / 477.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1553, allocations: 147.3 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1553, allocations: 0 / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1555, allocations: 31.94 kB / 477.5 MB, free: 7.285 MB / 350.1 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 (8): * Single equations (assignments): 6 * 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.00155/0.1571, allocations: 1.168 MB / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.1573, allocations: 51.97 kB / 478.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1573, allocations: 0 / 478.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.1574, allocations: 35.91 kB / 478.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1576, allocations: 28.06 kB / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1589, allocations: 0.8392 MB / 479.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1593, allocations: 0.7121 MB / 480.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1593, allocations: 13.19 kB / 480.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.1594, allocations: 35.42 kB / 480.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1594, allocations: 0 / 480.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.1759, allocations: 2.909 MB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.1762, allocations: 220.8 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.947, allocations: 0 / 483.5 MB, free: 1.445 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat