Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.001081/0.001081, allocations: 94.77 kB / 16.99 MB, free: 5.938 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.001642/0.001642, allocations: 180.7 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.324/1.324, allocations: 223.2 MB / 241.8 MB, free: 408 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.000406, allocations: 15.98 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002328/0.1444, allocations: 1.39 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1459, allocations: 0.7842 MB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1461, allocations: 0 / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1464, allocations: 35.78 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1467, allocations: 47.88 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1471, allocations: 94.33 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1473, allocations: 63.84 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1474, allocations: 8.172 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1475, allocations: 35.84 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.1476, allocations: 27.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1476, allocations: 0 / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1478, allocations: 31.97 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.1478, allocations: 19.92 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1479, allocations: 37.64 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1481, allocations: 84.09 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1481, allocations: 3.938 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.88e-06/0.1481, allocations: 4 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1481, allocations: 0 / 474.2 MB, free: 10.99 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.0007298/0.1488, allocations: 395 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.1489, allocations: 8.031 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.149, allocations: 30.56 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.149, allocations: 19.81 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1494, allocations: 202.8 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.1494, allocations: 4 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1494, allocations: 3.953 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1496, allocations: 53.67 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1496, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1497, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1497, allocations: 4 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.1498, allocations: 15.98 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.1503, allocations: 296.8 kB / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1505, allocations: 54.67 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1506, allocations: 4 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.1508, allocations: 67.52 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.538e-06/0.1508, allocations: 0 / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006697/0.1515, allocations: 173.4 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.1515, allocations: 55.34 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1518, allocations: 186.1 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1518, allocations: 33.69 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.1519, allocations: 104.1 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.152, allocations: 23.7 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.152, allocations: 0 / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1522, allocations: 330.8 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.1522, allocations: 16 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.1523, allocations: 41.64 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.1524, allocations: 23.98 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1524, allocations: 0 / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002309/0.1527, allocations: 105.4 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1527, allocations: 8.031 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1527, allocations: 4.125 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1527, allocations: 0 / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1528, allocations: 19.98 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1529, allocations: 0 / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.1529, allocations: 4 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1529, allocations: 4 kB / 476.4 MB, free: 8.516 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.0001333/0.1531, allocations: 137.6 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1531, allocations: 7.906 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.1532, allocations: 20.72 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1532, allocations: 3.984 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1532, allocations: 0 / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1532, allocations: 0 / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.1537, allocations: 395.4 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1538, allocations: 4 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.1538, allocations: 4 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1538, allocations: 4 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1538, allocations: 4.031 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1538, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1538, allocations: 4 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1541, allocations: 221.8 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1542, allocations: 81.02 kB / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.1542, allocations: 12 kB / 477.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.1543, allocations: 3.984 kB / 477.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1543, allocations: 7.938 kB / 477.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1544, allocations: 4 kB / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1545, allocations: 147.1 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1545, allocations: 0 / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1548, allocations: 24 kB / 477.5 MB, free: 7.34 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.001687/0.1565, allocations: 1.181 MB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1567, allocations: 55.97 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1567, allocations: 0 / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.1568, allocations: 31.92 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.1571, allocations: 27.92 kB / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1584, allocations: 0.8394 MB / 479.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1587, allocations: 0.7082 MB / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.086e-05/0.1588, allocations: 25.17 kB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.1589, allocations: 31.42 kB / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1589, allocations: 0 / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.1726, allocations: 2.901 MB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.1729, allocations: 216.6 kB / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.052, allocations: 0 / 483.5 MB, free: 1.496 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat