Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",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.001111/0.001111, allocations: 96.78 kB / 17 MB, free: 6.418 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.001522/0.001522, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.427/1.427, allocations: 223.2 MB / 241.9 MB, free: 368 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.2542/0.2542, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003771, allocations: 8.844 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00296/0.1298, allocations: 1.854 MB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1323, allocations: 1.116 MB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.1325, allocations: 3.938 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.1329, allocations: 119.6 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.1334, allocations: 167.3 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.1342, allocations: 277.1 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.1347, allocations: 370.8 kB / 475.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1349, allocations: 52.83 kB / 475.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.1353, allocations: 235.2 kB / 475.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.1356, allocations: 135.3 kB / 476 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.1356, allocations: 8 kB / 476 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1358, allocations: 59.97 kB / 476 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.136, allocations: 135.5 kB / 476.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1361, allocations: 101.3 kB / 476.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.1366, allocations: 327.6 kB / 476.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1367, allocations: 4 kB / 476.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1367, allocations: 0 / 476.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.1367, allocations: 0 / 476.6 MB, free: 8.68 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001361/0.1381, allocations: 0.7856 MB / 477.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.1381, allocations: 8.031 kB / 477.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.97e-05/0.1382, allocations: 46.55 kB / 477.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1384, allocations: 71.14 kB / 477.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.139, allocations: 403.6 kB / 477.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.139, allocations: 15.94 kB / 477.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.1391, allocations: 16 kB / 477.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.1395, allocations: 193.4 kB / 478.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.1395, allocations: 4 kB / 478.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1396, allocations: 4 kB / 478.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1396, allocations: 8 kB / 478.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.1398, allocations: 95.8 kB / 478.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.1411, allocations: 0.8171 MB / 479 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.1418, allocations: 250.5 kB / 479.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.142, allocations: 87.52 kB / 479.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.142, allocations: 4 kB / 479.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.1425, allocations: 200.5 kB / 479.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 4.067e-06/0.1425, allocations: 0 / 479.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002692/0.1452, allocations: 1.153 MB / 480.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.1453, allocations: 140.4 kB / 480.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.1465, allocations: 0.9105 MB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.1465, allocations: 41.69 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.1467, allocations: 260.9 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.1469, allocations: 138.1 kB / 482.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.1469, allocations: 12 kB / 482.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1471, allocations: 386.7 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.1474, allocations: 108.8 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.1476, allocations: 187.1 kB / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1479, allocations: 131.9 kB / 483 MB, free: 1.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1479, allocations: 0 / 483 MB, free: 1.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007699/0.1487, allocations: 432.8 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1487, allocations: 12.05 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1487, allocations: 8 kB / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.1488, allocations: 4 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.149, allocations: 87.84 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.1491, allocations: 8.219 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.1492, allocations: 19.98 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.1493, allocations: 19.98 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002954/0.1496, allocations: 255.8 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.1497, allocations: 75.14 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.1498, allocations: 85.38 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.1499, allocations: 8 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1499, allocations: 3.938 kB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1499, allocations: 3.984 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.1517, allocations: 1.322 MB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.1517, allocations: 8.016 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1519, allocations: 59.91 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1519, allocations: 4 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.152, allocations: 20 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.152, allocations: 16.3 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.152, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.1528, allocations: 0.785 MB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.1531, allocations: 192 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.1531, allocations: 15.98 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.1534, allocations: 23.98 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.1535, allocations: 31.91 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.1536, allocations: 27.98 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007007/0.1543, allocations: 0.6747 MB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1543, allocations: 0 / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005608/0.1549, allocations: 91.98 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002318/0.1572, allocations: 1.742 MB / 489 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.1579, allocations: 303.6 kB / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1579, allocations: 0 / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.1582, allocations: 168.7 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/0.1592, allocations: 126.8 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.1645, allocations: 3.513 MB / 493.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.1651, allocations: 0.9056 MB / 494 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002669/0.1654, allocations: 71.27 kB / 494.1 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.1657, allocations: 203.3 kB / 494.3 MB, free: 6.492 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1657, allocations: 3.938 kB / 494.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.1916, allocations: 10.28 MB / 0.4927 GB, free: 12.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.1919, allocations: 221.8 kB / 0.4929 GB, free: 12.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.255, allocations: 0 / 0.4929 GB, free: 12.16 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat does not exist to compare? outputFormat=mat