Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.228/0.228, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.003983/0.003984, allocations: 85.02 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1467, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003628/0.1504, allocations: 1.919 MB / 482.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1525, allocations: 1.123 MB / 483.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.1527, allocations: 3.938 kB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.1531, allocations: 159.5 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.1536, allocations: 183.3 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.154, allocations: 115.6 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.1543, allocations: 239.3 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1545, allocations: 37.66 kB / 484 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.1547, allocations: 107.5 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1549, allocations: 135.5 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.155, allocations: 11.94 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1552, allocations: 63.92 kB / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.1553, allocations: 51.83 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1554, allocations: 83.36 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1558, allocations: 231.5 kB / 484.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1558, allocations: 0 / 484.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1558, allocations: 0 / 484.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1558, allocations: 0 / 484.7 MB, free: 0.6953 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.0008472/0.1567, allocations: 0.5292 MB / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1567, allocations: 12.03 kB / 485.2 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.1568, allocations: 38.73 kB / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.1569, allocations: 28.66 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.1573, allocations: 283.4 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1573, allocations: 12.38 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1573, allocations: 7.938 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1576, allocations: 107.3 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1576, allocations: 4 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1576, allocations: 4 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1577, allocations: 0 / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1578, allocations: 51.91 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.1584, allocations: 472.7 kB / 486.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.1588, allocations: 125.2 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.159, allocations: 41.83 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.159, allocations: 7.984 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.1593, allocations: 117 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.1593, allocations: 4 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001308/0.1606, allocations: 484.9 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.1607, allocations: 85.09 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.1611, allocations: 367.3 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1612, allocations: 33.7 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1613, allocations: 160.3 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.1614, allocations: 67.09 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.1614, allocations: 45.7 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1616, allocations: 342.8 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1617, allocations: 51.98 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1619, allocations: 95.33 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.1622, allocations: 159.5 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1622, allocations: 4 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004355/0.1626, allocations: 233.1 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1627, allocations: 4 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1627, allocations: 0 / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1627, allocations: 8.062 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1629, allocations: 43.86 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1629, allocations: 4 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.163, allocations: 15.98 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.163, allocations: 8 kB / 488.6 MB, free: 12.41 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.0001735/0.1632, allocations: 158.2 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.1632, allocations: 35.55 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.1633, allocations: 37.83 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1633, allocations: 0 / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1633, allocations: 8 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1633, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/0.1643, allocations: 0.7272 MB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1643, allocations: 0 / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.1644, allocations: 27.98 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1645, allocations: 4 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1645, allocations: 11.98 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1645, allocations: 0 / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.1645, allocations: 11.88 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.165, allocations: 409.8 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.1651, allocations: 100.8 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1651, allocations: 8 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1652, allocations: 11.98 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.1653, allocations: 23.86 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.1653, allocations: 12 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.1656, allocations: 281.9 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1656, allocations: 0 / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.166, allocations: 48 kB / 490.5 MB, free: 10.39 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.002593/0.1686, allocations: 1.352 MB / 491.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.169, allocations: 175.7 kB / 492 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1691, allocations: 4.062 kB / 492.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1692, allocations: 83.84 kB / 492.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.1699, allocations: 61.22 kB / 492.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.1733, allocations: 2.718 MB / 494.9 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.1737, allocations: 0.7713 MB / 495.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.1738, allocations: 37.92 kB / 495.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.174, allocations: 91.41 kB / 495.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.174, allocations: 0 / 495.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.204, allocations: 5.983 MB / 0.49 GB, free: 15.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.224, allocations: 11.66 kB / 0.49 GB, free: 15.21 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_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_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)