Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_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.0009943/0.0009944, allocations: 96.94 kB / 17 MB, free: 5.953 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.001087/0.001087, allocations: 187.8 kB / 17.89 MB, free: 5.57 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.486/1.486, allocations: 223.2 MB / 241.9 MB, free: 216 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.2165/0.2165, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00228/0.1275, allocations: 1.476 MB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1289, allocations: 0.8816 MB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.129, allocations: 0 / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.1295, allocations: 303.4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.1298, allocations: 187.5 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.1302, allocations: 150.8 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.1305, allocations: 203.4 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.1305, allocations: 9.562 kB / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1307, allocations: 119.6 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1309, allocations: 163.5 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1309, allocations: 0 / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.131, allocations: 36 kB / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1312, allocations: 135.6 kB / 475.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.1313, allocations: 81.44 kB / 475.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1316, allocations: 271.8 kB / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1316, allocations: 0 / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1316, allocations: 3.938 kB / 475.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1316, allocations: 4 kB / 475.6 MB, free: 9.625 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.0008235/0.1324, allocations: 0.6686 MB / 476.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1325, allocations: 12.03 kB / 476.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.1325, allocations: 34.56 kB / 476.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.1326, allocations: 47.34 kB / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.1331, allocations: 423.1 kB / 476.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1331, allocations: 0 / 476.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.1331, allocations: 11.95 kB / 476.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1333, allocations: 87.3 kB / 476.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1334, allocations: 3.984 kB / 476.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1334, allocations: 0 / 476.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1334, allocations: 4 kB / 476.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1335, allocations: 27.98 kB / 477 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.1339, allocations: 378.4 kB / 477.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1341, allocations: 109.2 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.1342, allocations: 37.7 kB / 477.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1343, allocations: 0 / 477.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.1345, allocations: 113 kB / 477.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1345, allocations: 0 / 477.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004476/0.135, allocations: 201.3 kB / 477.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.135, allocations: 81.11 kB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1361, allocations: 1.038 MB / 478.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.1362, allocations: 29.7 kB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1364, allocations: 232.1 kB / 479.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.1364, allocations: 27.64 kB / 479.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.1364, allocations: 8 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1366, allocations: 362.8 kB / 479.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.1367, allocations: 27.98 kB / 479.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-05/0.1368, allocations: 67.36 kB / 479.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.1369, allocations: 36.05 kB / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1369, allocations: 0 / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000275/0.1372, allocations: 164.9 kB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1372, allocations: 14.33 kB / 479.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1372, allocations: 0 / 479.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1372, allocations: 4.062 kB / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1373, allocations: 27.88 kB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1374, allocations: 3.984 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.1375, allocations: 11.91 kB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1375, allocations: 4 kB / 479.9 MB, free: 5.105 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.000216/0.1377, allocations: 226.2 kB / 480.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.1378, allocations: 51.39 kB / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.276e-05/0.1378, allocations: 60 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1379, allocations: 4 kB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1379, allocations: 0 / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1379, allocations: 0 / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.1382, allocations: 345.3 kB / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1382, allocations: 0 / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.1382, allocations: 11.94 kB / 480.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1383, allocations: 0 / 480.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1383, allocations: 11.94 kB / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1383, allocations: 0 / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1383, allocations: 0 / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1386, allocations: 201.3 kB / 480.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1387, allocations: 140.4 kB / 480.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.1388, allocations: 12.12 kB / 480.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.1389, allocations: 7.953 kB / 480.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1389, allocations: 11.97 kB / 480.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.139, allocations: 7.938 kB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007854/0.1397, allocations: 0.7799 MB / 481.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1398, allocations: 0 / 481.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.14, allocations: 43.98 kB / 481.8 MB, free: 3.113 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.001409/0.1415, allocations: 1.039 MB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1417, allocations: 83.95 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1417, allocations: 4 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.1418, allocations: 36.11 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.1422, allocations: 72.64 kB / 483 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.1462, allocations: 2.921 MB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.1466, allocations: 0.843 MB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.1468, allocations: 58.89 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.147, allocations: 147.4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.147, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.1681, allocations: 8.022 MB / 495 MB, free: 6.078 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.1684, allocations: 225.3 kB / 495.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.165, allocations: 0 / 495.2 MB, free: 5.836 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat