Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.0008735/0.0008733, allocations: 98 kB / 17 MB, free: 6.398 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.0008138/0.000814, allocations: 180 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.396/1.396, allocations: 223.3 MB / 241.9 MB, free: 252 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.206/0.206, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002342/0.1373, allocations: 1.558 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.139, allocations: 0.9089 MB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1391, allocations: 0 / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004782/0.1396, allocations: 215.5 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.1399, allocations: 147.5 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.1404, allocations: 159.3 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.1407, allocations: 203.3 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1409, allocations: 21.67 kB / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.141, allocations: 103.6 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1412, allocations: 127.5 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1413, allocations: 4 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1414, allocations: 47.98 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.1415, allocations: 63.75 kB / 475.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.1416, allocations: 53.58 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.1418, allocations: 168 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1418, allocations: 0 / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1418, allocations: 0 / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1418, allocations: 3.938 kB / 475.4 MB, free: 9.855 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006291/0.1425, allocations: 0.5175 MB / 475.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1425, allocations: 12.03 kB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.1426, allocations: 46.48 kB / 476 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1426, allocations: 23.72 kB / 476 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1429, allocations: 263.1 kB / 476.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1429, allocations: 4 kB / 476.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.143, allocations: 15.86 kB / 476.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.1432, allocations: 107.3 kB / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1432, allocations: 4 kB / 476.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1432, allocations: 4 kB / 476.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1433, allocations: 7.984 kB / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1434, allocations: 39.97 kB / 476.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.144, allocations: 484.6 kB / 476.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1443, allocations: 121.2 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.795e-05/0.1444, allocations: 49.75 kB / 477.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1445, allocations: 4 kB / 477.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.1447, allocations: 117.2 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.1447, allocations: 0 / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001294/0.146, allocations: 0.4961 MB / 477.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1461, allocations: 81.11 kB / 477.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/0.1465, allocations: 420.5 kB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1466, allocations: 33.7 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1467, allocations: 164.4 kB / 478.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.1467, allocations: 71.03 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.1468, allocations: 8 kB / 478.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1469, allocations: 338.8 kB / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.147, allocations: 55.97 kB / 478.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.1472, allocations: 91.34 kB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1473, allocations: 67.98 kB / 479 MB, free: 5.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1473, allocations: 0 / 479 MB, free: 5.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003641/0.1477, allocations: 229.4 kB / 479.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1477, allocations: 4 kB / 479.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1477, allocations: 4 kB / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1477, allocations: 0 / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1479, allocations: 51.91 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1479, allocations: 8.016 kB / 479.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.148, allocations: 8 kB / 479.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.148, allocations: 8 kB / 479.3 MB, free: 5.672 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001528/0.1482, allocations: 166.3 kB / 479.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1482, allocations: 31.62 kB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.1483, allocations: 42.61 kB / 479.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1483, allocations: 7.875 kB / 479.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1483, allocations: 4 kB / 479.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1483, allocations: 7.953 kB / 479.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/0.1492, allocations: 0.7233 MB / 480.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1492, allocations: 8.062 kB / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.1493, allocations: 31.92 kB / 480.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1493, allocations: 4 kB / 480.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1493, allocations: 11.98 kB / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1493, allocations: 4 kB / 480.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1493, allocations: 0 / 480.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.1498, allocations: 424.7 kB / 480.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.1498, allocations: 112.7 kB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.1499, allocations: 7.984 kB / 480.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.15, allocations: 8 kB / 480.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.1501, allocations: 15.98 kB / 480.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.1501, allocations: 15.98 kB / 480.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003012/0.1504, allocations: 323 kB / 481.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1504, allocations: 0 / 481.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.1508, allocations: 48 kB / 481.3 MB, free: 3.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001811/0.1526, allocations: 1.374 MB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.153, allocations: 151.8 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.153, allocations: 4.125 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1531, allocations: 83.78 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.1537, allocations: 57.03 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.156, allocations: 1.649 MB / 484.6 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1564, allocations: 0.7677 MB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.1565, allocations: 37.92 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.1566, allocations: 95.39 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1566, allocations: 0 / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.1734, allocations: 5.649 MB / 491.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.1737, allocations: 225.9 kB / 491.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.196, allocations: 0 / 491.4 MB, free: 9.699 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat