Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2564/0.2564, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003226/0.003226, allocations: 78.98 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1426, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003363/0.146, allocations: 1.728 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.1486, allocations: 1.623 MB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.1487, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1491, allocations: 39.77 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.1494, allocations: 111.5 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1497, allocations: 75.72 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1498, allocations: 107.6 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.15, allocations: 8 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.1501, allocations: 51.78 kB / 484 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1503, allocations: 39.77 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1503, allocations: 8 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1505, allocations: 103.9 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.1506, allocations: 27.91 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.1506, allocations: 31.81 kB / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.1509, allocations: 163.8 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1509, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.151, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.151, allocations: 0 / 484.3 MB, free: 0.9961 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006647/0.1516, allocations: 431 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1517, allocations: 12.03 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.1517, allocations: 34.75 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.1518, allocations: 12.84 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1521, allocations: 219.4 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1521, allocations: 0 / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1521, allocations: 4 kB / 485 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1523, allocations: 71.33 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1523, allocations: 3.984 kB / 485.1 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1523, allocations: 4 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.1523, allocations: 3.984 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.1524, allocations: 23.98 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1528, allocations: 280.9 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.153, allocations: 62.61 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.1531, allocations: 16.86 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1531, allocations: 4 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1534, allocations: 71.38 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1534, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005796/0.154, allocations: 169.2 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.154, allocations: 81.05 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1542, allocations: 165.5 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1543, allocations: 29.7 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.1543, allocations: 108.1 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.1544, allocations: 27.64 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1545, allocations: 17.72 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1546, allocations: 322.8 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.1547, allocations: 23.98 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.856e-05/0.1548, allocations: 46.44 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1549, allocations: 61.69 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1549, allocations: 0 / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.1551, allocations: 101.5 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1552, allocations: 10.66 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1552, allocations: 384 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1552, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1553, allocations: 19.92 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1553, allocations: 4 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.1554, allocations: 8.031 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1554, allocations: 8 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.1555, allocations: 121 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1556, allocations: 15.81 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.1556, allocations: 16.7 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1556, allocations: 3.938 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1556, allocations: 0 / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1556, allocations: 0 / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.1562, allocations: 395.3 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1562, allocations: 7.938 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.1562, allocations: 11.98 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1563, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1563, allocations: 4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1563, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1563, allocations: 4.234 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1566, allocations: 204.3 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.1566, allocations: 92.89 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.1567, allocations: 7.984 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.1568, allocations: 0 / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.1568, allocations: 4 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1568, allocations: 11.98 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.157, allocations: 119.2 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.157, allocations: 0 / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.1573, allocations: 55.98 kB / 487.8 MB, free: 13.18 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002381/0.1597, allocations: 1.177 MB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1599, allocations: 59.97 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1599, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.16, allocations: 31.92 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1604, allocations: 34.25 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1624, allocations: 1.573 MB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.1629, allocations: 0.7051 MB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.003e-05/0.163, allocations: 25.16 kB / 491.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.1631, allocations: 35.42 kB / 491.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1631, allocations: 0 / 491.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.1916, allocations: 3.949 MB / 495.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.277, allocations: 14.7 kB / 495.4 MB, free: 5.711 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)