Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.001043/0.001044, allocations: 96.2 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 175.6 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3738/0.3738, allocations: 43.55 MB / 314.5 MB, free: 9 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005304, allocations: 20 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1271, allocations: 58.85 MB / 442.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002122/0.1292, allocations: 1.462 MB / 444.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1306, allocations: 0.8084 MB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.1307, allocations: 3.938 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.1312, allocations: 283.4 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1315, allocations: 191.6 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1318, allocations: 127.7 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.1321, allocations: 159.6 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.522e-05/0.1322, allocations: 21.52 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1323, allocations: 115.6 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.1325, allocations: 139.6 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1326, allocations: 4 kB / 446.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.1327, allocations: 31.97 kB / 446.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1328, allocations: 135.6 kB / 446.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.1329, allocations: 73.45 kB / 446.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.1332, allocations: 279.7 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1332, allocations: 4 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1332, allocations: 0 / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1332, allocations: 0 / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009128/0.1341, allocations: 0.6725 MB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.1342, allocations: 8.031 kB / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.1342, allocations: 38.55 kB / 447.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.1343, allocations: 55.28 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.1349, allocations: 423.1 kB / 447.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1349, allocations: 7.984 kB / 447.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1349, allocations: 4 kB / 447.9 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1351, allocations: 79.38 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1351, allocations: 0 / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1352, allocations: 3.953 kB / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1352, allocations: 3.984 kB / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1353, allocations: 31.92 kB / 448 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.1357, allocations: 386.3 kB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.1359, allocations: 105.3 kB / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1359, allocations: 0 / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.1362, allocations: 109.2 kB / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1362, allocations: 0 / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004255/0.1366, allocations: 189 kB / 448.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.1367, allocations: 89.06 kB / 448.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.1377, allocations: 1.034 MB / 449.9 MB, free: 5.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1377, allocations: 33.69 kB / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1379, allocations: 236 kB / 450.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.138, allocations: 31.62 kB / 450.2 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.138, allocations: 4 kB / 450.2 MB, free: 5.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1381, allocations: 366.8 kB / 450.5 MB, free: 5.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.1382, allocations: 23.98 kB / 450.5 MB, free: 5.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.1383, allocations: 63.41 kB / 450.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.172e-05/0.1384, allocations: 28 kB / 450.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1384, allocations: 0 / 450.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002782/0.1387, allocations: 168.9 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1387, allocations: 4 kB / 450.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1387, allocations: 0 / 450.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1388, allocations: 7.938 kB / 450.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1389, allocations: 24.05 kB / 450.8 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1389, allocations: 3.953 kB / 450.8 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.139, allocations: 15.94 kB / 450.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.139, allocations: 7.984 kB / 450.9 MB, free: 4.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002139/0.1392, allocations: 234.2 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.1393, allocations: 47.34 kB / 451.1 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.855e-05/0.1394, allocations: 67.88 kB / 451.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1394, allocations: 3.984 kB / 451.2 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1394, allocations: 8 kB / 451.2 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1394, allocations: 3.953 kB / 451.2 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.1397, allocations: 337.5 kB / 451.5 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1398, allocations: 4 kB / 451.5 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.1398, allocations: 4 kB / 451.6 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.1398, allocations: 7.984 kB / 451.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1398, allocations: 0 / 451.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1398, allocations: 0 / 451.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1398, allocations: 0 / 451.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1401, allocations: 218.9 kB / 451.8 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.1403, allocations: 144.4 kB / 451.9 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.1404, allocations: 4 kB / 451.9 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.1405, allocations: 7.984 kB / 451.9 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.1405, allocations: 7.953 kB / 451.9 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1406, allocations: 15.98 kB / 451.9 MB, free: 3.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000784/0.1413, allocations: 0.7721 MB / 452.7 MB, free: 2.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1414, allocations: 0 / 452.7 MB, free: 2.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1416, allocations: 44 kB / 452.8 MB, free: 2.863 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001417/0.1431, allocations: 1.133 MB / 453.9 MB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1433, allocations: 79.91 kB / 454 MB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1433, allocations: 0 / 454 MB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.1434, allocations: 35.98 kB / 454 MB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1438, allocations: 62.22 kB / 454.1 MB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2402/0.3841, allocations: 3.262 MB / 457.3 MB, free: 45.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3846, allocations: 0.8528 MB / 458.2 MB, free: 44.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.3847, allocations: 56.27 kB / 458.2 MB, free: 44.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.3849, allocations: 147.2 kB / 458.4 MB, free: 44.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3849, allocations: 0 / 458.4 MB, free: 44.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.4035, allocations: 8.021 MB / 466.4 MB, free: 44.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.4037, allocations: 208.5 kB / 466.6 MB, free: 43.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.399, allocations: 4 kB / 466.6 MB, free: 43.99 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat