Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.0008982/0.0008981, allocations: 96.7 kB / 17 MB, free: 6.797 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.0009827/0.0009827, allocations: 183.2 kB / 17.89 MB, free: 6.055 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.402/1.402, allocations: 223.2 MB / 241.9 MB, free: 332 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.2082/0.2082, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 12.5 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 61.91 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002282/0.1457, allocations: 1.398 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.147, allocations: 0.7998 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1471, allocations: 3.938 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1474, allocations: 31.89 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1475, allocations: 43.83 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1478, allocations: 87.83 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.148, allocations: 79.7 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1481, allocations: 20.22 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.287e-05/0.1482, allocations: 43.72 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.1483, allocations: 23.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1483, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.1484, allocations: 35.98 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.1485, allocations: 15.91 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.1485, allocations: 41.64 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1486, allocations: 80.11 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1487, allocations: 7.938 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1487, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1487, allocations: 0 / 474.4 MB, free: 10.88 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.0005309/0.1492, allocations: 395 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1493, allocations: 15.97 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.1493, allocations: 30.56 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.1494, allocations: 11.81 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1496, allocations: 210.8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1496, allocations: 0 / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1496, allocations: 11.95 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1498, allocations: 53.67 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1498, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1498, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1498, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.1499, allocations: 23.92 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1503, allocations: 284.9 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.1504, allocations: 66.67 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.1505, allocations: 16.86 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1505, allocations: 0 / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.1507, allocations: 75.31 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1507, allocations: 0 / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004977/0.1512, allocations: 173.2 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1513, allocations: 55.41 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1515, allocations: 182.2 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1515, allocations: 29.7 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.1515, allocations: 108.1 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1516, allocations: 23.7 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.1516, allocations: 0 / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1517, allocations: 326.8 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.1518, allocations: 20 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.1518, allocations: 37.7 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.217e-05/0.1519, allocations: 20 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1519, allocations: 0 / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000168/0.1521, allocations: 105.4 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.1521, allocations: 4 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1521, allocations: 0 / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1521, allocations: 8.219 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.1522, allocations: 15.98 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1523, allocations: 7.875 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.1523, allocations: 4 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1523, allocations: 4 kB / 476.6 MB, free: 8.375 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.0001017/0.1524, allocations: 134.2 kB / 476.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.1524, allocations: 7.906 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.1525, allocations: 12.88 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1525, allocations: 11.98 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1525, allocations: 0 / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1525, allocations: 0 / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.1529, allocations: 399.2 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.153, allocations: 0 / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.153, allocations: 8 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.153, allocations: 4 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.153, allocations: 0 / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.153, allocations: 4.031 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.153, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1533, allocations: 212.1 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.1533, allocations: 89 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1534, allocations: 8.375 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.1534, allocations: 0 / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1535, allocations: 15.98 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1535, allocations: 4 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1536, allocations: 143.2 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1536, allocations: 0 / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1539, allocations: 20 kB / 477.7 MB, free: 7.215 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.001667/0.1556, allocations: 1.115 MB / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1558, allocations: 55.92 kB / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1558, allocations: 4.062 kB / 478.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.1559, allocations: 27.98 kB / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1563, allocations: 21.48 kB / 478.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1575, allocations: 0.6964 MB / 479.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1578, allocations: 0.7004 MB / 480.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.1579, allocations: 28.8 kB / 480.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.1579, allocations: 35.42 kB / 480.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1579, allocations: 3.938 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.1717, allocations: 2.922 MB / 483.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.1719, allocations: 230.5 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.002, allocations: 0 / 483.5 MB, free: 1.57 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat