Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.0009705/0.0009705, allocations: 97.48 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.001203/0.001203, allocations: 189.4 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.45/1.45, allocations: 223.2 MB / 241.9 MB, free: 264 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.2289/0.2289, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002488/0.1257, allocations: 1.854 MB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1274, allocations: 1.123 MB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1275, allocations: 3.938 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.1279, allocations: 103.6 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1282, allocations: 147.3 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.1287, allocations: 282 kB / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.1291, allocations: 366.8 kB / 475.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1293, allocations: 48.89 kB / 475.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.1296, allocations: 219.2 kB / 475.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1298, allocations: 131.3 kB / 475.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.1298, allocations: 8 kB / 475.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1299, allocations: 52 kB / 476 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1301, allocations: 115.6 kB / 476.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.1302, allocations: 93.39 kB / 476.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.1305, allocations: 299.5 kB / 476.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1305, allocations: 0 / 476.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1305, allocations: 0 / 476.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1305, allocations: 0 / 476.5 MB, free: 8.805 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.0008608/0.1314, allocations: 0.7314 MB / 477.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1314, allocations: 16.03 kB / 477.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.1315, allocations: 46.55 kB / 477.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.1315, allocations: 55.25 kB / 477.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.132, allocations: 379 kB / 477.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.132, allocations: 11.94 kB / 477.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.132, allocations: 23.98 kB / 477.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.1324, allocations: 185.5 kB / 477.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1324, allocations: 15.92 kB / 477.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1324, allocations: 7.984 kB / 477.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1324, allocations: 4 kB / 477.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.1326, allocations: 83.94 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.1334, allocations: 0.8054 MB / 478.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.134, allocations: 242.5 kB / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1341, allocations: 91.52 kB / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.1342, allocations: 4 kB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.1345, allocations: 204.4 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.1345, allocations: 0 / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002265/0.1368, allocations: 1.091 MB / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1369, allocations: 140.5 kB / 480.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/0.1378, allocations: 0.7413 MB / 481.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.1379, allocations: 37.7 kB / 481.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.1381, allocations: 240.9 kB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.1383, allocations: 142.1 kB / 481.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.1383, allocations: 15.94 kB / 481.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1385, allocations: 378.7 kB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.1387, allocations: 108.8 kB / 482.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.139, allocations: 187.2 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.1392, allocations: 127.9 kB / 482.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1393, allocations: 0 / 482.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006874/0.1399, allocations: 436.8 kB / 482.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.14, allocations: 8 kB / 482.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.14, allocations: 0 / 482.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.14, allocations: 4 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.1403, allocations: 87.84 kB / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1403, allocations: 7.984 kB / 483 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1405, allocations: 16 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.1405, allocations: 19.98 kB / 483.1 MB, free: 1.824 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.0002476/0.1407, allocations: 228 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.1408, allocations: 67.23 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.141, allocations: 76.5 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.141, allocations: 8 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.141, allocations: 0 / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.141, allocations: 3.984 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.1427, allocations: 1.307 MB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.1427, allocations: 4.047 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1429, allocations: 63.84 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.1429, allocations: 8 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.1429, allocations: 15.98 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1429, allocations: 4 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.1429, allocations: 7.938 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.144, allocations: 0.7698 MB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.1442, allocations: 184.2 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.1442, allocations: 15.98 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.1445, allocations: 19.98 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.1446, allocations: 35.97 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.1447, allocations: 31.92 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006073/0.1453, allocations: 0.5456 MB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1453, allocations: 0 / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.1458, allocations: 88 kB / 486.5 MB, free: 14.2 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.00238/0.1482, allocations: 1.748 MB / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.1488, allocations: 307.8 kB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1488, allocations: 4.062 kB / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.1491, allocations: 164 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/0.1501, allocations: 110.5 kB / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007586/0.1577, allocations: 3.091 MB / 492 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.1585, allocations: 0.886 MB / 492.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004445/0.1589, allocations: 83.23 kB / 492.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.1594, allocations: 179.4 kB / 493.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1595, allocations: 3.938 kB / 493.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.1917, allocations: 9.624 MB / 0.4909 GB, free: 14.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.192, allocations: 213.9 kB / 0.4912 GB, free: 13.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.253, allocations: 0 / 0.4912 GB, free: 13.99 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat does not exist to compare? outputFormat=mat