Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, 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.001312/0.001312, 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.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2272/0.2272, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002311/0.002311, allocations: 80.41 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1167, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003324/0.12, allocations: 1.727 MB / 481.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1218, allocations: 1.025 MB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.1219, allocations: 4 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1222, allocations: 31.78 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.1226, allocations: 95.55 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1228, allocations: 75.72 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.123, allocations: 103.6 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1231, allocations: 15.98 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.1232, allocations: 43.78 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.1233, allocations: 35.8 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1233, allocations: 4 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1234, allocations: 43.98 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.1235, allocations: 19.91 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.1235, allocations: 31.8 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1238, allocations: 115.8 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1238, allocations: 3.938 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1238, allocations: 11.94 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1238, allocations: 0 / 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.0005429/0.1243, allocations: 403 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1244, allocations: 8.031 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1244, allocations: 34.73 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1245, allocations: 20.75 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1247, allocations: 208.1 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1248, allocations: 384 / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1248, allocations: 3.938 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.125, allocations: 69.61 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.125, allocations: 0 / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.125, allocations: 3.984 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.125, allocations: 0 / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.1251, allocations: 23.98 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.1255, allocations: 280.9 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1257, allocations: 62.61 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.1258, allocations: 20.86 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1258, allocations: 0 / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.126, allocations: 63.39 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.126, allocations: 0 / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005741/0.1266, allocations: 177.2 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.1266, allocations: 55.34 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.1269, allocations: 191.3 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1269, allocations: 25.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.127, allocations: 104 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.127, allocations: 27.64 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1271, allocations: 25.7 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1272, allocations: 326.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.1273, allocations: 16 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.1274, allocations: 41.64 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1275, allocations: 57.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1275, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.1277, allocations: 105.5 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1278, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1278, allocations: 4.031 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1278, allocations: 4.188 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.1279, allocations: 12 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1279, allocations: 3.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.128, allocations: 11.92 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.128, allocations: 0 / 485.9 MB, free: 15.12 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.0001127/0.1281, allocations: 125.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.1281, allocations: 15.81 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.1282, allocations: 17.55 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1282, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1282, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1282, allocations: 3.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.1287, allocations: 395.7 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1287, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.1287, allocations: 15.98 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1288, allocations: 3.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1288, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1288, allocations: 4.031 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1288, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.129, allocations: 200.2 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.649e-05/0.1291, allocations: 88.92 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.1292, allocations: 7.922 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.1292, allocations: 4 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1293, allocations: 15.94 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1293, allocations: 3.984 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1294, allocations: 136 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1294, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1297, allocations: 24 kB / 487 MB, free: 13.96 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.002159/0.1319, allocations: 1.096 MB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1321, allocations: 55.97 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1321, allocations: 8 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.1322, allocations: 28 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1326, allocations: 32.72 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1345, allocations: 1.631 MB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1349, allocations: 0.708 MB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.263e-05/0.135, allocations: 20.88 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.135, allocations: 35.42 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1351, allocations: 0 / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.1607, allocations: 3.318 MB / 493.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.186, allocations: 10.33 kB / 493.9 MB, free: 7.137 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18_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_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)