Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.001172/0.001172, allocations: 105.5 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.00137/0.00137, allocations: 217.8 kB / 22.92 MB, free: 5.531 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.292/1.292, allocations: 230.2 MB / 256.2 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.207/0.207, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",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.002126/0.002126, allocations: 83.88 kB / 0.4941 GB, free: 9.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.255, allocations: 65.98 MB / 0.5585 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002704/0.2577, allocations: 1.741 MB / 0.5602 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2593, allocations: 1.049 MB / 0.5612 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.2593, allocations: 7.938 kB / 0.5612 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.2596, allocations: 47.75 kB / 0.5613 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.2598, allocations: 95.55 kB / 0.5614 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.26, allocations: 75.67 kB / 0.5614 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.2601, allocations: 95.75 kB / 0.5615 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.2602, allocations: 9.828 kB / 0.5615 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.2603, allocations: 47.77 kB / 0.5616 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.2604, allocations: 35.8 kB / 0.5616 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2604, allocations: 4 kB / 0.5616 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.458e-05/0.2605, allocations: 43.97 kB / 0.5617 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.2605, allocations: 27.86 kB / 0.5617 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.2606, allocations: 35.73 kB / 0.5617 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2607, allocations: 115.5 kB / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2607, allocations: 0 / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2607, allocations: 0 / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2607, allocations: 7.938 kB / 0.5618 GB, free: 1.789 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000496/0.2612, allocations: 426.6 kB / 0.5622 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2613, allocations: 8.031 kB / 0.5623 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.2613, allocations: 38.75 kB / 0.5623 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.2613, allocations: 8.891 kB / 0.5623 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.2616, allocations: 216.8 kB / 0.5625 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2616, allocations: 384 / 0.5625 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.2616, allocations: 11.94 kB / 0.5625 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2617, allocations: 49.67 kB / 0.5626 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2617, allocations: 0 / 0.5626 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2618, allocations: 7.984 kB / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2618, allocations: 8 kB / 0.5626 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.2618, allocations: 15.98 kB / 0.5626 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.2622, allocations: 288.8 kB / 0.5629 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.2623, allocations: 54.62 kB / 0.5629 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.2624, allocations: 20.84 kB / 0.5629 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2624, allocations: 4 kB / 0.5629 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.2625, allocations: 63.39 kB / 0.563 GB, free: 428 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.2625, allocations: 0 / 0.563 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004766/0.263, allocations: 181.3 kB / 0.5632 GB, free: 240 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.263, allocations: 51.41 kB / 0.5632 GB, free: 176 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2632, allocations: 198.3 kB / 0.5634 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2633, allocations: 33.7 kB / 0.5635 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.2633, allocations: 108 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.2633, allocations: 23.8 kB / 0.5636 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.2634, allocations: 25.7 kB / 0.5636 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2635, allocations: 326.8 kB / 0.5639 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.2636, allocations: 20.36 kB / 0.5639 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.2636, allocations: 33.7 kB / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.2637, allocations: 61.72 kB / 0.564 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2637, allocations: 8 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.2639, allocations: 105.5 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.2639, allocations: 4 kB / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2639, allocations: 4 kB / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2639, allocations: 0 / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.264, allocations: 19.94 kB / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.264, allocations: 4.172 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.2641, allocations: 11.97 kB / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2641, allocations: 7.938 kB / 0.5642 GB, free: 15.14 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 (10): * Single equations (assignments): 10 * 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 9.137e-05/0.2642, allocations: 124.9 kB / 0.5643 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.2642, allocations: 15.89 kB / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.2644, allocations: 111.1 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2644, allocations: 0 / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2644, allocations: 3.938 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2644, allocations: 7.922 kB / 0.5644 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.2648, allocations: 395.6 kB / 0.5648 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2648, allocations: 0 / 0.5648 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.2649, allocations: 11.94 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2649, allocations: 3.938 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2649, allocations: 11.98 kB / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2649, allocations: 0 / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2649, allocations: 0 / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2651, allocations: 200.3 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.2652, allocations: 89.06 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.2652, allocations: 3.938 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.2652, allocations: 7.984 kB / 0.5651 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.2653, allocations: 11.88 kB / 0.5651 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2653, allocations: 4 kB / 0.5651 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2654, allocations: 148.2 kB / 0.5653 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2654, allocations: 4 kB / 0.5653 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.2657, allocations: 23.94 kB / 0.5653 GB, free: 13.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001927/0.2676, allocations: 1.09 MB / 0.5664 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.2678, allocations: 59.89 kB / 0.5664 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2678, allocations: 0 / 0.5664 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.588e-05/0.2678, allocations: 23.94 kB / 0.5665 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2681, allocations: 39.34 kB / 0.5665 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.2698, allocations: 1.654 MB / 0.5681 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.2701, allocations: 0.708 MB / 0.5688 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.2702, allocations: 16.88 kB / 0.5688 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.2703, allocations: 35.42 kB / 0.5688 GB, free: 10.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2703, allocations: 0 / 0.5688 GB, free: 10.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.294, allocations: 3.472 MB / 0.5722 GB, free: 6.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.497, allocations: 8.734 kB / 0.5722 GB, free: 6.812 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.030076618000749]