Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, 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.001222/0.001222, 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.471/1.471, 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.2339/0.2339, allocations: 46.11 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.002658/0.002658, allocations: 76.91 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1348, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003539/0.1384, allocations: 1.695 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1402, allocations: 1.002 MB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.1403, allocations: 4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1406, allocations: 67.73 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.141, allocations: 99.58 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.1412, allocations: 79.66 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1414, allocations: 103.7 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.1415, allocations: 8.219 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.1416, allocations: 47.78 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.1417, allocations: 43.83 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1417, allocations: 8 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.1418, allocations: 35.94 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.1419, allocations: 19.92 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.1419, allocations: 35.73 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.1421, allocations: 103.9 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1422, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1422, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1422, allocations: 0 / 483.5 MB, free: 1.758 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000558/0.1427, allocations: 402.9 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1428, allocations: 16.03 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.1428, allocations: 34.69 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1429, allocations: 12.84 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1431, allocations: 212.7 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1431, allocations: 384 / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1432, allocations: 3.938 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1433, allocations: 49.67 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1433, allocations: 0 / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1433, allocations: 4 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1434, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.004e-05/0.1434, allocations: 15.98 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.1437, allocations: 185.7 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1438, allocations: 62.47 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1439, allocations: 20.8 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1439, allocations: 0 / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.1441, allocations: 71.3 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1441, allocations: 0 / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002948/0.1444, allocations: 101.5 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1445, allocations: 51.41 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1447, allocations: 194.4 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1447, allocations: 25.7 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.1448, allocations: 100.1 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.1449, allocations: 19.84 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.1449, allocations: 17.72 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1451, allocations: 326.8 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.1452, allocations: 15.98 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.1452, allocations: 21.72 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1453, allocations: 49.64 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1453, allocations: 7.938 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001575/0.1455, allocations: 73.91 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1455, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1455, allocations: 8.094 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1456, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.1456, allocations: 15.98 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1457, allocations: 3.984 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.1457, allocations: 4 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1457, allocations: 0 / 485.6 MB, free: 15.43 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 (7): * Single equations (assignments): 7 * 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.000104/0.1458, allocations: 137.8 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1459, allocations: 11.81 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.1459, allocations: 16.94 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1459, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1459, allocations: 3.984 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1459, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1461, allocations: 193.5 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1461, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.1461, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1462, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1462, allocations: 7.984 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1462, allocations: 3.938 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1462, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1464, allocations: 109 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.1465, allocations: 85.02 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1465, allocations: 0 / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.1465, allocations: 4 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.1466, allocations: 7.984 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1466, allocations: 7.938 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1468, allocations: 144.2 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1468, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.147, allocations: 27.89 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002024/0.149, allocations: 0.944 MB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1493, allocations: 43.92 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1493, allocations: 0 / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.736e-05/0.1494, allocations: 19.98 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1496, allocations: 33.03 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1514, allocations: 1.507 MB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1517, allocations: 0.701 MB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.21e-05/0.1518, allocations: 16.56 kB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.1518, allocations: 35.42 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1518, allocations: 0 / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.177, allocations: 3.079 MB / 492.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.294, allocations: 11.83 kB / 492.8 MB, free: 8.273 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)