Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, 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.001361/0.001361, 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.502/1.502, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2398/0.2398, allocations: 46.13 MB / 344.2 MB, free: 11.51 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.002286/0.002286, allocations: 87.47 kB / 417.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 62.45 MB / 480.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003634/0.1349, allocations: 1.689 MB / 481.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1367, allocations: 1.009 MB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.1369, allocations: 0 / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.1372, allocations: 55.75 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.1376, allocations: 99.58 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1378, allocations: 71.69 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.138, allocations: 103.7 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.138, allocations: 8.234 kB / 483.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.1381, allocations: 39.8 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.1382, allocations: 31.8 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1383, allocations: 3.984 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.1383, allocations: 35.98 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.1384, allocations: 23.86 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.1385, allocations: 35.69 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1387, allocations: 127.8 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1387, allocations: 0 / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1387, allocations: 4 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1387, allocations: 0 / 483.5 MB, free: 1.719 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.0005919/0.1393, allocations: 438.6 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.1394, allocations: 12.03 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1394, allocations: 30.75 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1395, allocations: 8.844 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1397, allocations: 220.9 kB / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1398, allocations: 384 / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1398, allocations: 11.94 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1399, allocations: 49.67 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.14, allocations: 0 / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.14, allocations: 0 / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.14, allocations: 4 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.1401, allocations: 19.92 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.1403, allocations: 189.7 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1405, allocations: 54.56 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.1405, allocations: 20.84 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1406, allocations: 4 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.1408, allocations: 63.39 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.326e-06/0.1408, allocations: 11.86 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003258/0.1411, allocations: 97.48 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1412, allocations: 55.41 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1415, allocations: 271 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1416, allocations: 25.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.1416, allocations: 112.1 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1417, allocations: 19.83 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1417, allocations: 17.72 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1419, allocations: 326.8 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.142, allocations: 12 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.142, allocations: 37.7 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1421, allocations: 49.89 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1422, allocations: 3.938 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.1423, allocations: 85.44 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1424, allocations: 6.656 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1424, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1424, allocations: 8.031 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.1425, allocations: 8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1425, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.1425, allocations: 15.83 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.1426, allocations: 0 / 485.8 MB, free: 15.23 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.0001267/0.1427, allocations: 137.8 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1427, allocations: 11.91 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.1428, allocations: 20.98 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1428, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1428, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1428, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.143, allocations: 201.5 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.143, allocations: 0 / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.143, allocations: 7.938 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.143, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1431, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1431, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1431, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.1433, allocations: 120.9 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-05/0.1434, allocations: 81.02 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1434, allocations: 11.92 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.1434, allocations: 4.125 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1435, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1435, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.1437, allocations: 212.4 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1437, allocations: 0 / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1439, allocations: 16 kB / 486.6 MB, free: 14.32 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.001859/0.1458, allocations: 0.946 MB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.146, allocations: 43.92 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.146, allocations: 4 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.146, allocations: 20.05 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1463, allocations: 37.16 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1482, allocations: 1.669 MB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.1486, allocations: 0.7127 MB / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.219e-05/0.1487, allocations: 20.52 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.1488, allocations: 43.42 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1488, allocations: 0 / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.1743, allocations: 3.412 MB / 493.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.079, allocations: 15.98 kB / 493.5 MB, free: 7.477 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_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_Test61.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)