Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001748/0.001748, 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.002242/0.002242, 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.499/1.499, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2308/0.2308, 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.002567/0.002567, allocations: 76.72 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1305, allocations: 62.46 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003876/0.1344, allocations: 1.939 MB / 482.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1363, allocations: 1.06 MB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1365, allocations: 0 / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.1369, allocations: 47.7 kB / 483.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1372, allocations: 91.48 kB / 483.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.1376, allocations: 99.64 kB / 483.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1378, allocations: 147.5 kB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1379, allocations: 29.53 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1381, allocations: 55.73 kB / 483.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.1382, allocations: 51.7 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1382, allocations: 8 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1383, allocations: 43.98 kB / 483.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.1384, allocations: 23.92 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.1385, allocations: 55.55 kB / 483.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1387, allocations: 155.8 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1387, allocations: 7.938 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1388, allocations: 0 / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1388, allocations: 0 / 484 MB, free: 1.348 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006779/0.1394, allocations: 476.5 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1395, allocations: 12.03 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.1395, allocations: 42.67 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1396, allocations: 16.75 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1399, allocations: 237.5 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1399, allocations: 8.375 kB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1399, allocations: 7.938 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.1402, allocations: 108.2 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1402, allocations: 3.938 kB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1402, allocations: 0 / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1402, allocations: 4 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1404, allocations: 51.97 kB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.141, allocations: 0.5048 MB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1413, allocations: 90.66 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.952e-05/0.1415, allocations: 40.81 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1415, allocations: 7.938 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.1418, allocations: 79.38 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1418, allocations: 4 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000408/0.1422, allocations: 149.3 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1422, allocations: 51.41 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1424, allocations: 198.2 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1425, allocations: 25.7 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.1426, allocations: 127.9 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1426, allocations: 23.62 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.1427, allocations: 33.7 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1428, allocations: 327.2 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.1429, allocations: 23.98 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1431, allocations: 72.2 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1433, allocations: 100.1 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1433, allocations: 0 / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002775/0.1436, allocations: 137.3 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1436, allocations: 4.125 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1436, allocations: 11.98 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1436, allocations: 3.938 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1437, allocations: 27.92 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1437, allocations: 0 / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1438, allocations: 19.88 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.1438, allocations: 4 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001205/0.144, allocations: 125.8 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.144, allocations: 15.81 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.1441, allocations: 17.41 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1441, allocations: 3.938 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1441, allocations: 4 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1441, allocations: 3.984 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1443, allocations: 213.5 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1443, allocations: 0 / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.1444, allocations: 11.94 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1444, allocations: 0 / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1444, allocations: 11.98 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1444, allocations: 3.938 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1444, allocations: 0 / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.1448, allocations: 184.9 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.1449, allocations: 88.98 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1449, allocations: 0 / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.145, allocations: 15.92 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1451, allocations: 7.984 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1451, allocations: 8.062 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1452, allocations: 144.4 kB / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1452, allocations: 0 / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1455, allocations: 24 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002036/0.1475, allocations: 1.017 MB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.1478, allocations: 83.84 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1478, allocations: 0 / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.1479, allocations: 48.03 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1483, allocations: 42.08 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.1505, allocations: 1.729 MB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1509, allocations: 0.7239 MB / 491.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.151, allocations: 13.42 kB / 491.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.151, allocations: 47.42 kB / 491.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.151, allocations: 0 / 491.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.1789, allocations: 3.745 MB / 495.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.079, allocations: 14.8 kB / 495.3 MB, free: 5.723 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)