Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.001393/0.001393, allocations: 109 kB / 19.74 MB, free: 2.582 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.001557/0.001557, allocations: 217.6 kB / 22.92 MB, free: 5.559 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.306/1.306, allocations: 230.2 MB / 256.1 MB, free: 8.605 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.2037/0.2037, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",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.002121/0.002121, allocations: 83.86 kB / 0.4941 GB, free: 9.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2573, allocations: 65.98 MB / 0.5585 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002786/0.2601, allocations: 1.741 MB / 0.5602 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.2624, allocations: 1.715 MB / 0.5619 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.2624, allocations: 0 / 0.5619 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.2627, allocations: 39.77 kB / 0.5619 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.263, allocations: 99.53 kB / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.2631, allocations: 79.67 kB / 0.5621 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.2633, allocations: 99.75 kB / 0.5622 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.484e-05/0.2634, allocations: 18.02 kB / 0.5622 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.2635, allocations: 43.8 kB / 0.5622 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.2636, allocations: 43.83 kB / 0.5623 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2636, allocations: 11.94 kB / 0.5623 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.2638, allocations: 115.9 kB / 0.5624 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.2639, allocations: 15.92 kB / 0.5624 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.539e-05/0.2639, allocations: 31.8 kB / 0.5624 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.2642, allocations: 171.3 kB / 0.5626 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2642, allocations: 4 kB / 0.5626 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2642, allocations: 0 / 0.5626 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2642, allocations: 0 / 0.5626 GB, free: 1.09 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.0005433/0.2647, allocations: 430.6 kB / 0.563 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2648, allocations: 12.03 kB / 0.563 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.2648, allocations: 38.73 kB / 0.5631 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.2648, allocations: 12.84 kB / 0.5631 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.2651, allocations: 219.4 kB / 0.5633 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2651, allocations: 0 / 0.5633 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.2651, allocations: 4 kB / 0.5633 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.2653, allocations: 67.39 kB / 0.5634 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2653, allocations: 0 / 0.5634 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.2653, allocations: 4 kB / 0.5634 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.2653, allocations: 4 kB / 0.5634 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.2654, allocations: 19.92 kB / 0.5634 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.2657, allocations: 292.8 kB / 0.5637 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.2659, allocations: 54.69 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.2659, allocations: 24.84 kB / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2659, allocations: 0 / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.2661, allocations: 67.39 kB / 0.5638 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2661, allocations: 3.938 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000492/0.2666, allocations: 173.4 kB / 0.564 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.2666, allocations: 81.05 kB / 0.5641 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2668, allocations: 173.7 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2668, allocations: 29.7 kB / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.2669, allocations: 96.12 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.2669, allocations: 27.75 kB / 0.5644 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.2669, allocations: 25.7 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2671, allocations: 322.8 kB / 0.5647 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.2671, allocations: 20.38 kB / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.2672, allocations: 42.56 kB / 0.5648 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2673, allocations: 61.64 kB / 0.5648 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2673, allocations: 4 kB / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.2675, allocations: 101.6 kB / 0.5649 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2675, allocations: 8 kB / 0.5649 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2675, allocations: 0 / 0.5649 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2675, allocations: 0 / 0.5649 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.2676, allocations: 23.94 kB / 0.5649 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2676, allocations: 4 kB / 0.565 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.2677, allocations: 3.984 kB / 0.565 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2677, allocations: 4 kB / 0.565 GB, free: 14.43 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.12e-05/0.2678, allocations: 117.8 kB / 0.5651 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.2678, allocations: 11.95 kB / 0.5651 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.268, allocations: 110.3 kB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.268, allocations: 3.938 kB / 0.5652 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.268, allocations: 4 kB / 0.5652 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.268, allocations: 0 / 0.5652 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.2685, allocations: 407.5 kB / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2685, allocations: 7.938 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.2685, allocations: 15.92 kB / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2685, allocations: 0 / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2685, allocations: 192 / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2685, allocations: 0 / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2685, allocations: 7.938 kB / 0.5656 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2687, allocations: 200.4 kB / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.2688, allocations: 88.98 kB / 0.5659 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.2688, allocations: 7.938 kB / 0.5659 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2689, allocations: 4 kB / 0.5659 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.2689, allocations: 7.984 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2689, allocations: 4 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.2691, allocations: 127.2 kB / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2691, allocations: 0 / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.2695, allocations: 47.86 kB / 0.5661 GB, free: 13.16 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.002233/0.2718, allocations: 1.184 MB / 0.5672 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.272, allocations: 47.98 kB / 0.5673 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.272, allocations: 4 kB / 0.5673 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.272, allocations: 23.92 kB / 0.5673 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2723, allocations: 37.31 kB / 0.5673 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.274, allocations: 1.595 MB / 0.5689 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.2743, allocations: 0.7002 MB / 0.5696 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.2744, allocations: 25.17 kB / 0.5696 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.2745, allocations: 35.42 kB / 0.5696 GB, free: 9.555 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2745, allocations: 192 / 0.5696 GB, free: 9.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.2997, allocations: 4.042 MB / 0.5736 GB, free: 5.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.123/7.423, allocations: 0 / 0.5736 GB, free: 5.508 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.012030729994876]