Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009008/0.0009008, allocations: 92.92 kB / 17 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 194.5 kB / 17.91 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 45.92 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 15.94 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 63.47 MB / 481.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002358/0.1443, allocations: 1.602 MB / 483.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1461, allocations: 1.057 MB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1463, allocations: 0 / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.1468, allocations: 223.5 kB / 484.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.1472, allocations: 175.5 kB / 484.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.1476, allocations: 163.2 kB / 484.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.148, allocations: 215.3 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1481, allocations: 29.69 kB / 485.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1482, allocations: 111.5 kB / 485.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1484, allocations: 123.5 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1484, allocations: 4 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1486, allocations: 59.97 kB / 485.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.1487, allocations: 55.77 kB / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.1488, allocations: 57.58 kB / 485.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.149, allocations: 187.9 kB / 485.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.149, allocations: 0 / 485.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.149, allocations: 0 / 485.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.149, allocations: 0 / 485.7 MB, free: 1.137 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.000711/0.1498, allocations: 0.5175 MB / 486.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1498, allocations: 12.03 kB / 486.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.1499, allocations: 42.55 kB / 486.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.1499, allocations: 35.62 kB / 486.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1503, allocations: 274.9 kB / 486.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1503, allocations: 11.94 kB / 486.6 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1503, allocations: 4 kB / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1506, allocations: 117.9 kB / 486.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1506, allocations: 0 / 486.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1506, allocations: 8 kB / 486.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1506, allocations: 0 / 486.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1508, allocations: 44.05 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.1514, allocations: 480.7 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.1518, allocations: 125.2 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.1519, allocations: 49.81 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1519, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.1522, allocations: 121 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/0.1522, allocations: 0 / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001263/0.1534, allocations: 0.4966 MB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.1535, allocations: 81.11 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.154, allocations: 440.5 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.154, allocations: 33.7 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1541, allocations: 160.5 kB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.1542, allocations: 70.98 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.1542, allocations: 8 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1543, allocations: 342.8 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1545, allocations: 55.97 kB / 489.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1546, allocations: 91.39 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1548, allocations: 64.16 kB / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1548, allocations: 0 / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003988/0.1552, allocations: 241 kB / 489.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1552, allocations: 8 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1552, allocations: 3.984 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1553, allocations: 4 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1554, allocations: 39.92 kB / 489.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1554, allocations: 8.062 kB / 489.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.1555, allocations: 8 kB / 489.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.1555, allocations: 15.98 kB / 489.6 MB, free: 12.91 MB / 366.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.0001726/0.1557, allocations: 166.3 kB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.1558, allocations: 43.5 kB / 489.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/0.1559, allocations: 43.03 kB / 489.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1559, allocations: 4 kB / 489.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1559, allocations: 0 / 489.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1559, allocations: 4 kB / 489.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000963/0.1569, allocations: 0.7272 MB / 490.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1569, allocations: 4 kB / 490.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/0.157, allocations: 32.11 kB / 490.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.157, allocations: 0 / 490.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.157, allocations: 8 kB / 490.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.157, allocations: 7.984 kB / 490.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.157, allocations: 3.938 kB / 490.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.1575, allocations: 424.6 kB / 491.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.1576, allocations: 108.7 kB / 491.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.1577, allocations: 8 kB / 491.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1578, allocations: 7.984 kB / 491.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.1579, allocations: 27.88 kB / 491.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.1579, allocations: 16.17 kB / 491.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003607/0.1583, allocations: 331 kB / 491.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1583, allocations: 3.938 kB / 491.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.1587, allocations: 51.98 kB / 491.6 MB, free: 10.79 MB / 366.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.00197/0.1607, allocations: 1.352 MB / 493 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.1611, allocations: 159.4 kB / 493.1 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1611, allocations: 128 / 493.1 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1612, allocations: 83.84 kB / 493.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.1618, allocations: 62.16 kB / 493.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.1644, allocations: 1.695 MB / 495 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1648, allocations: 0.7755 MB / 495.7 MB, free: 6.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.165, allocations: 45.89 kB / 495.8 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1652, allocations: 95.41 kB / 495.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1652, allocations: 0 / 495.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.184, allocations: 5.807 MB / 0.4899 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.1842, allocations: 227.9 kB / 0.4902 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.119, allocations: 0 / 0.4902 GB, free: 0.6602 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat