Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 217.1 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 230.2 MB / 256.1 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2017/0.2017, allocations: 46.89 MB / 359.3 MB, free: 5.051 MB / 286.1 MB " [Timeout remaining time 180] 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.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.00219/0.00219, allocations: 79.88 kB / 0.4941 GB, free: 9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2602, allocations: 65.98 MB / 0.5585 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002997/0.2632, allocations: 1.764 MB / 0.5602 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2649, allocations: 1.045 MB / 0.5613 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.265, allocations: 4 kB / 0.5613 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.2652, allocations: 51.75 kB / 0.5613 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.2655, allocations: 95.53 kB / 0.5614 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.2657, allocations: 79.67 kB / 0.5615 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.2659, allocations: 135.7 kB / 0.5616 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.266, allocations: 13.8 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.824e-05/0.2661, allocations: 59.77 kB / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.2662, allocations: 47.83 kB / 0.5617 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2662, allocations: 4 kB / 0.5617 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.2663, allocations: 67.91 kB / 0.5618 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.2664, allocations: 31.86 kB / 0.5618 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.2664, allocations: 43.72 kB / 0.5619 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.2666, allocations: 139.4 kB / 0.562 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2666, allocations: 0 / 0.562 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2666, allocations: 4 kB / 0.562 GB, free: 1.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2666, allocations: 0 / 0.562 GB, free: 1.559 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005477/0.2672, allocations: 450.4 kB / 0.5624 GB, free: 1.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.2672, allocations: 12.03 kB / 0.5624 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.2672, allocations: 34.75 kB / 0.5625 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.2673, allocations: 24.78 kB / 0.5625 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.2676, allocations: 228.1 kB / 0.5627 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.2676, allocations: 384 / 0.5627 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.2676, allocations: 15.94 kB / 0.5627 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2678, allocations: 69.66 kB / 0.5628 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2678, allocations: 3.938 kB / 0.5628 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2678, allocations: 4 kB / 0.5628 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2678, allocations: 0 / 0.5628 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.2679, allocations: 43.95 kB / 0.5628 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.2683, allocations: 312.8 kB / 0.5631 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.2685, allocations: 90.5 kB / 0.5632 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.2686, allocations: 24.86 kB / 0.5633 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2686, allocations: 12.12 kB / 0.5633 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.2688, allocations: 83.31 kB / 0.5633 GB, free: 4 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2688, allocations: 0 / 0.5633 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008016/0.2696, allocations: 304.5 kB / 0.5636 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2696, allocations: 59.34 kB / 0.5637 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.2698, allocations: 190.1 kB / 0.5639 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.2698, allocations: 29.7 kB / 0.5639 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.2699, allocations: 108.4 kB / 0.564 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.2699, allocations: 39.64 kB / 0.564 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.27, allocations: 37.64 kB / 0.5641 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2701, allocations: 326.8 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.2702, allocations: 39.98 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.2703, allocations: 60.72 kB / 0.5645 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.2705, allocations: 97.7 kB / 0.5646 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2705, allocations: 0 / 0.5646 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002599/0.2707, allocations: 153.5 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2707, allocations: 4 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2707, allocations: 4.031 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2708, allocations: 0 / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.2708, allocations: 31.92 kB / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2709, allocations: 0.8438 kB / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.2709, allocations: 0 / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2709, allocations: 8 kB / 0.5648 GB, free: 14.48 MB / 414.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 (15): * Single equations (assignments): 15 * 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.0001095/0.271, allocations: 133.8 kB / 0.5649 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.271, allocations: 19.89 kB / 0.5649 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.2714, allocations: 179.1 kB / 0.5651 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2714, allocations: 7.938 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2714, allocations: 0 / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2714, allocations: 0 / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.272, allocations: 499.8 kB / 0.5656 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.272, allocations: 4 kB / 0.5656 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.272, allocations: 16 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.272, allocations: 4.062 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.272, allocations: 4 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.272, allocations: 3.984 kB / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.272, allocations: 4 kB / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.2723, allocations: 264.5 kB / 0.5659 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2724, allocations: 85.06 kB / 0.5659 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.2724, allocations: 8 kB / 0.566 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.2725, allocations: 4 kB / 0.566 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2725, allocations: 11.98 kB / 0.566 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.2725, allocations: 8 kB / 0.566 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2727, allocations: 144.8 kB / 0.5661 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2727, allocations: 0 / 0.5661 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.2729, allocations: 43.88 kB / 0.5662 GB, free: 12.95 MB / 414.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 (13): * Single equations (assignments): 11 * 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.002195/0.2751, allocations: 1.179 MB / 0.5673 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.2753, allocations: 95.83 kB / 0.5674 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.2753, allocations: 8.062 kB / 0.5674 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2755, allocations: 43.92 kB / 0.5674 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2758, allocations: 49.7 kB / 0.5675 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.2777, allocations: 1.863 MB / 0.5693 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.2781, allocations: 0.7161 MB / 0.57 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.563e-05/0.2781, allocations: 25.41 kB / 0.57 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.2782, allocations: 47.42 kB / 0.5701 GB, free: 8.949 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2782, allocations: 7.938 kB / 0.5701 GB, free: 8.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.3026, allocations: 4.072 MB / 0.5741 GB, free: 4.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.389, allocations: 3.094 kB / 0.5741 GB, free: 4.895 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.969404911011225]