Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2574/0.2574, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002248/0.002248, allocations: 88.03 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1368, allocations: 62.44 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003401/0.1403, allocations: 1.735 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1422, allocations: 1.021 MB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.1423, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1426, allocations: 43.77 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.143, allocations: 103.5 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1432, allocations: 71.73 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1434, allocations: 111.6 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1435, allocations: 7.984 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.074e-05/0.1436, allocations: 39.8 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.1437, allocations: 35.78 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1437, allocations: 4 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1438, allocations: 47.98 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.1439, allocations: 23.92 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.1439, allocations: 39.72 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1442, allocations: 123.8 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1442, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1442, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1442, allocations: 3.938 kB / 483.6 MB, free: 1.711 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.0006355/0.1448, allocations: 422.9 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1449, allocations: 8.031 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.1449, allocations: 30.75 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.145, allocations: 20.75 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1453, allocations: 216.1 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1453, allocations: 384 / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1453, allocations: 7.938 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1455, allocations: 57.61 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1455, allocations: 0 / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.1455, allocations: 0 / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1455, allocations: 0 / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.1456, allocations: 19.98 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.1461, allocations: 292.9 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1463, allocations: 54.62 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.1463, allocations: 24.84 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1464, allocations: 0 / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.1466, allocations: 67.39 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1466, allocations: 0 / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.1472, allocations: 189 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.1473, allocations: 51.41 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.1475, allocations: 202.3 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1476, allocations: 29.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.1476, allocations: 104.1 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.1477, allocations: 27.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.1477, allocations: 21.72 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1479, allocations: 330.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.148, allocations: 15.98 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.148, allocations: 41.64 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1482, allocations: 61.69 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1482, allocations: 4 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.1484, allocations: 101.4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1484, allocations: 4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1484, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1484, allocations: 4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.1485, allocations: 15.98 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1485, allocations: 192 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.1486, allocations: 15.88 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1486, allocations: 3.938 kB / 486 MB, free: 15.07 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.0001293/0.1488, allocations: 137.8 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1488, allocations: 7.906 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.1489, allocations: 25.38 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1489, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1489, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1489, allocations: 3.938 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.1494, allocations: 399.2 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1494, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.1494, allocations: 7.984 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.1495, allocations: 7.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.1495, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1495, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1495, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.1498, allocations: 208.5 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.1498, allocations: 88.92 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1499, allocations: 3.938 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1499, allocations: 7.984 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.15, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.15, allocations: 4.375 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1502, allocations: 164.8 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1502, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1504, allocations: 20 kB / 487.1 MB, free: 13.89 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.002217/0.1527, allocations: 1.102 MB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1529, allocations: 59.91 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1529, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.153, allocations: 27.98 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1534, allocations: 36.98 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.1554, allocations: 1.687 MB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1558, allocations: 0.7119 MB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.1559, allocations: 12.86 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.156, allocations: 43.41 kB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.156, allocations: 0 / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.1831, allocations: 3.436 MB / 494.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.096, allocations: 3.984 kB / 494.2 MB, free: 6.879 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)