Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, 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.002039/0.002039, 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.464/1.464, 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.222/0.222, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.003664/0.003664, allocations: 75.89 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1264, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003401/0.1298, allocations: 1.751 MB / 482 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1315, allocations: 1.025 MB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.1316, allocations: 0 / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.132, allocations: 87.69 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1323, allocations: 119.5 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.1326, allocations: 83.66 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.1328, allocations: 127.7 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1329, allocations: 16 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1331, allocations: 51.78 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1332, allocations: 67.73 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1332, allocations: 4 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1334, allocations: 63.91 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.1334, allocations: 23.92 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.1335, allocations: 39.69 kB / 483.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1338, allocations: 147.8 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1338, allocations: 0 / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1338, allocations: 0 / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1338, allocations: 0 / 483.8 MB, free: 1.531 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000671/0.1345, allocations: 438.8 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1345, allocations: 8.031 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.1346, allocations: 34.75 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.1346, allocations: 12.83 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1349, allocations: 233.5 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1349, allocations: 8.312 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1349, allocations: 7.938 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1351, allocations: 61.67 kB / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1351, allocations: 0 / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1351, allocations: 3.984 kB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1351, allocations: 0 / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.1352, allocations: 19.98 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.1356, allocations: 312.6 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1359, allocations: 58.56 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.136, allocations: 24.97 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.136, allocations: 0 / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.1362, allocations: 75.39 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.677e-06/0.1362, allocations: 4 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007642/0.137, allocations: 245.3 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1371, allocations: 59.34 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.1373, allocations: 235 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1373, allocations: 25.7 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.1374, allocations: 112.1 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1374, allocations: 31.55 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.1375, allocations: 33.7 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1376, allocations: 326.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.1377, allocations: 35.98 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.1378, allocations: 45.7 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1379, allocations: 77.64 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.138, allocations: 4 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002394/0.1382, allocations: 129.4 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1382, allocations: 6.656 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1382, allocations: 3.984 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1383, allocations: 4 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.1383, allocations: 23.94 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1384, allocations: 240 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.1384, allocations: 7.984 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1384, allocations: 4 kB / 486.5 MB, free: 14.63 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 (13): * Single equations (assignments): 13 * 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.0001213/0.1386, allocations: 125.9 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1386, allocations: 23.8 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.1387, allocations: 29.33 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1387, allocations: 7.938 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1387, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1387, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.1392, allocations: 459.9 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1393, allocations: 4.062 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.1393, allocations: 19.92 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1393, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1393, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1393, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1394, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.1397, allocations: 241 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.1397, allocations: 88.92 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1398, allocations: 4 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1398, allocations: 4 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1399, allocations: 7.984 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.1399, allocations: 8 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1401, allocations: 172.4 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1401, allocations: 4 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1404, allocations: 31.98 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002366/0.1427, allocations: 1.172 MB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.143, allocations: 87.91 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.143, allocations: 0 / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.1431, allocations: 39.92 kB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1435, allocations: 33.66 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.1455, allocations: 1.836 MB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.1459, allocations: 0.7232 MB / 491.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.146, allocations: 20.62 kB / 491.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.1461, allocations: 43.42 kB / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1461, allocations: 0 / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1711, allocations: 3.87 MB / 495.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.347, allocations: 7.922 kB / 495.5 MB, free: 5.602 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)