Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001873/0.001873, 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.002209/0.002209, 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.571/1.571, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2398/0.2398, 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.002486/0.002486, allocations: 85.31 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1246, allocations: 62.44 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003412/0.128, allocations: 1.93 MB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1301, allocations: 1.13 MB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.1302, allocations: 0 / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.1306, allocations: 163.5 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004376/0.1311, allocations: 179.3 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1314, allocations: 119.6 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.1317, allocations: 239.3 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1318, allocations: 29.69 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.132, allocations: 111.5 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1321, allocations: 131.5 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.1322, allocations: 8 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1323, allocations: 67.92 kB / 484.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.1324, allocations: 55.81 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.5e-05/0.1325, allocations: 83.36 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1328, allocations: 223.5 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1328, allocations: 0 / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1328, allocations: 0 / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.1328, allocations: 0 / 484.6 MB, free: 0.6602 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.0007305/0.1336, allocations: 0.537 MB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1336, allocations: 8.031 kB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.1337, allocations: 38.75 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.1337, allocations: 28.7 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1341, allocations: 287.3 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1341, allocations: 4.375 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1341, allocations: 11.94 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.1344, allocations: 103.3 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1344, allocations: 0 / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1344, allocations: 7.984 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1344, allocations: 4 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1346, allocations: 51.91 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.1352, allocations: 468.8 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.1355, allocations: 125.2 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1357, allocations: 45.81 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1357, allocations: 7.938 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.136, allocations: 120.4 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.136, allocations: 4 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001317/0.1373, allocations: 492.9 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.1374, allocations: 77.11 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.1378, allocations: 375.3 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1379, allocations: 25.7 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.138, allocations: 160.4 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.1381, allocations: 71.08 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.1381, allocations: 41.7 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1383, allocations: 342.8 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1384, allocations: 59.97 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1386, allocations: 91.34 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1389, allocations: 163.5 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1389, allocations: 0 / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004079/0.1393, allocations: 229.1 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1394, allocations: 8 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1394, allocations: 0 / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1394, allocations: 0 / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1395, allocations: 55.97 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1396, allocations: 0 / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.1396, allocations: 8 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1397, allocations: 8 kB / 488.6 MB, free: 12.38 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.1398, allocations: 162.1 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.1399, allocations: 35.56 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.14, allocations: 33.83 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.14, allocations: 4 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.14, allocations: 4 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.14, allocations: 0 / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009376/0.1409, allocations: 0.7194 MB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.141, allocations: 12.06 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.1411, allocations: 27.98 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1411, allocations: 0 / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1411, allocations: 8 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1411, allocations: 4 kB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.1411, allocations: 11.88 kB / 489.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.1416, allocations: 417.3 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.1417, allocations: 96.83 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.1418, allocations: 8 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1419, allocations: 11.98 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.142, allocations: 31.86 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.142, allocations: 11.98 kB / 490.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003142/0.1424, allocations: 273.9 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1424, allocations: 0 / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.1427, allocations: 48 kB / 490.5 MB, free: 10.36 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 (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.002748/0.1455, allocations: 1.348 MB / 491.9 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.1459, allocations: 175.8 kB / 492 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1459, allocations: 4.125 kB / 492.1 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.1461, allocations: 83.84 kB / 492.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.1467, allocations: 70.56 kB / 492.2 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.1503, allocations: 2.713 MB / 494.9 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.1507, allocations: 0.7675 MB / 495.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.1509, allocations: 41.92 kB / 495.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.151, allocations: 95.39 kB / 495.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.151, allocations: 3.938 kB / 495.8 MB, free: 5.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.1788, allocations: 5.974 MB / 0.49 GB, free: 15.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.336, allocations: 15.72 kB / 0.49 GB, free: 15.17 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)