Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.0009763/0.0009762, allocations: 95.39 kB / 17 MB, free: 6.352 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.001025/0.001025, allocations: 183.8 kB / 17.89 MB, free: 5.926 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.425/1.425, allocations: 223.3 MB / 241.9 MB, free: 14.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2458/0.2458, allocations: 44.22 MB / 337.2 MB, free: 2.605 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 12 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1232, allocations: 61.92 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002459/0.1257, allocations: 1.476 MB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1273, allocations: 0.8855 MB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1274, allocations: 0 / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.128, allocations: 287.4 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.1283, allocations: 191.5 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.1288, allocations: 142.4 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.1292, allocations: 211.3 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.1293, allocations: 13.56 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.1295, allocations: 111.6 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.1297, allocations: 151.6 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.1298, allocations: 4 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1299, allocations: 35.98 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1301, allocations: 135.6 kB / 475.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1302, allocations: 77.45 kB / 475.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.1306, allocations: 263.8 kB / 475.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1306, allocations: 0 / 475.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1306, allocations: 3.938 kB / 475.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1306, allocations: 0 / 475.6 MB, free: 9.613 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009841/0.1316, allocations: 0.6649 MB / 476.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1317, allocations: 8.031 kB / 476.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.1317, allocations: 42.55 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.1318, allocations: 47.34 kB / 476.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.1325, allocations: 411.2 kB / 476.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1325, allocations: 0 / 476.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1325, allocations: 11.94 kB / 476.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1328, allocations: 99.27 kB / 476.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1328, allocations: 0 / 476.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1328, allocations: 0 / 476.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1328, allocations: 0 / 476.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1329, allocations: 35.91 kB / 476.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1334, allocations: 370.3 kB / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1336, allocations: 109.2 kB / 477.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.1337, allocations: 37.7 kB / 477.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1337, allocations: 0 / 477.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.134, allocations: 124.8 kB / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.134, allocations: 0 / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004963/0.1345, allocations: 201.4 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.1346, allocations: 77.11 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.1357, allocations: 1.003 MB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1358, allocations: 33.7 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.136, allocations: 228.1 kB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.136, allocations: 31.64 kB / 479.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.136, allocations: 0 / 479.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.1363, allocations: 366.8 kB / 479.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.1363, allocations: 27.98 kB / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.981e-05/0.1365, allocations: 51.42 kB / 479.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.487e-05/0.1366, allocations: 39.92 kB / 479.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1366, allocations: 0 / 479.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003181/0.1369, allocations: 168.9 kB / 479.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1369, allocations: 4 kB / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1369, allocations: 4 kB / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.137, allocations: 0 / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1371, allocations: 28.05 kB / 479.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1371, allocations: 3.938 kB / 479.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1372, allocations: 11.89 kB / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1372, allocations: 8 kB / 479.8 MB, free: 5.141 MB / 350.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.0002442/0.1375, allocations: 214.3 kB / 480 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.1375, allocations: 51.38 kB / 480.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.1377, allocations: 59.84 kB / 480.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1377, allocations: 0 / 480.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.1377, allocations: 0 / 480.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1377, allocations: 4 kB / 480.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.1381, allocations: 337.5 kB / 480.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1381, allocations: 0 / 480.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.1382, allocations: 7.984 kB / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1382, allocations: 7.938 kB / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.413e-05/0.1383, allocations: 3.953 kB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1383, allocations: 3.938 kB / 480.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1383, allocations: 4.188 kB / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.1386, allocations: 209.2 kB / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.1388, allocations: 148.4 kB / 480.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.1389, allocations: 4 kB / 480.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.1389, allocations: 11.94 kB / 480.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.139, allocations: 4 kB / 480.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.139, allocations: 7.984 kB / 480.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007964/0.1398, allocations: 0.7526 MB / 481.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1398, allocations: 4 kB / 481.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1401, allocations: 43.91 kB / 481.7 MB, free: 3.184 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: 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.001489/0.1416, allocations: 1.035 MB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.1419, allocations: 79.91 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1419, allocations: 0 / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.142, allocations: 39.92 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1424, allocations: 66.22 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.1467, allocations: 2.834 MB / 485.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.1472, allocations: 0.8351 MB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.1474, allocations: 58.94 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.1476, allocations: 143.4 kB / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1476, allocations: 0 / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.184, allocations: 7.894 MB / 494.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000349/0.1844, allocations: 224.5 kB / 494.9 MB, free: 6.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.201, allocations: 0 / 494.9 MB, free: 6.148 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat