Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.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.001458/0.001458, allocations: 105 kB / 19.74 MB, free: 2.453 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.00166/0.00166, allocations: 218.9 kB / 22.92 MB, free: 5.195 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.322/1.322, allocations: 230.2 MB / 256.2 MB, free: 8.609 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.2018/0.2018, allocations: 46.89 MB / 359.3 MB, free: 5 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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",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.002172/0.002172, allocations: 79.86 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2672, allocations: 65.99 MB / 0.5585 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003236/0.2704, allocations: 2.046 MB / 0.5605 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.2722, allocations: 1.127 MB / 0.5616 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.2723, allocations: 8 kB / 0.5616 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.2726, allocations: 51.62 kB / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.2729, allocations: 115.4 kB / 0.5617 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.2731, allocations: 107.6 kB / 0.5619 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.2734, allocations: 203.4 kB / 0.562 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2735, allocations: 27.5 kB / 0.5621 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.2736, allocations: 83.69 kB / 0.5622 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2738, allocations: 79.55 kB / 0.5622 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.2738, allocations: 16 kB / 0.5622 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2739, allocations: 55.97 kB / 0.5623 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.274, allocations: 35.84 kB / 0.5623 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/0.2741, allocations: 75.48 kB / 0.5624 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.2744, allocations: 203.1 kB / 0.5626 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2744, allocations: 0 / 0.5626 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2744, allocations: 4 kB / 0.5626 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.2744, allocations: 0 / 0.5626 GB, free: 0.9688 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009182/0.2753, allocations: 0.5718 MB / 0.5632 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2753, allocations: 8.031 kB / 0.5632 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.2754, allocations: 38.75 kB / 0.5632 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.2754, allocations: 20.84 kB / 0.5632 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.2758, allocations: 247.9 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2758, allocations: 4.375 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.2758, allocations: 15.92 kB / 0.5635 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.2762, allocations: 158.6 kB / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2762, allocations: 0 / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2762, allocations: 0 / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2762, allocations: 4 kB / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.2767, allocations: 111.9 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.2773, allocations: 0.5437 MB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.2779, allocations: 162.5 kB / 0.5644 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.2782, allocations: 68.78 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2782, allocations: 7.938 kB / 0.5645 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.2786, allocations: 131.3 kB / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2786, allocations: 0 / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.00085/0.2794, allocations: 261.3 kB / 0.5649 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.2795, allocations: 59.39 kB / 0.5649 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.2797, allocations: 236.9 kB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2797, allocations: 29.7 kB / 0.5652 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.2798, allocations: 128.4 kB / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.2799, allocations: 43.67 kB / 0.5653 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.2799, allocations: 37.7 kB / 0.5654 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2801, allocations: 330.8 kB / 0.5657 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.2803, allocations: 67.94 kB / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.2806, allocations: 104.2 kB / 0.5659 GB, free: 13.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.2811, allocations: 193.3 kB / 0.566 GB, free: 13.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2811, allocations: 4 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006305/0.2817, allocations: 259 kB / 0.5663 GB, free: 12.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.2818, allocations: 29.7 kB / 0.5663 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2818, allocations: 4 kB / 0.5663 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2818, allocations: 4.062 kB / 0.5663 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.282, allocations: 43.91 kB / 0.5664 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.282, allocations: 7.938 kB / 0.5664 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.2821, allocations: 23.92 kB / 0.5664 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.2822, allocations: 12 kB / 0.5664 GB, free: 12.74 MB / 414.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001172/0.2823, allocations: 129.8 kB / 0.5665 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.2823, allocations: 15.91 kB / 0.5666 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.2829, allocations: 227.2 kB / 0.5668 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2829, allocations: 7.938 kB / 0.5668 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2829, allocations: 0 / 0.5668 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2829, allocations: 0 / 0.5668 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2832, allocations: 237.5 kB / 0.567 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2832, allocations: 0 / 0.567 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2833, allocations: 27.98 kB / 0.567 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2833, allocations: 0 / 0.567 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2833, allocations: 3.984 kB / 0.567 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.2833, allocations: 3.938 kB / 0.567 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2833, allocations: 4 kB / 0.567 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.2842, allocations: 312.8 kB / 0.5673 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.2842, allocations: 93 kB / 0.5674 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.2843, allocations: 0 / 0.5674 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2844, allocations: 27.91 kB / 0.5675 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.2845, allocations: 19.97 kB / 0.5675 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2845, allocations: 4.062 kB / 0.5675 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.2847, allocations: 177.6 kB / 0.5677 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2847, allocations: 0 / 0.5677 GB, free: 11.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.2849, allocations: 35.94 kB / 0.5677 GB, free: 11.34 MB / 414.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002403/0.2873, allocations: 1.133 MB / 0.5688 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000614/0.2879, allocations: 223.3 kB / 0.569 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2879, allocations: 0 / 0.569 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.2882, allocations: 75.81 kB / 0.5691 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.2885, allocations: 46.7 kB / 0.5691 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.2917, allocations: 2.182 MB / 0.5713 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.292, allocations: 0.728 MB / 0.572 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.62e-05/0.2921, allocations: 21.53 kB / 0.572 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.2922, allocations: 59.41 kB / 0.572 GB, free: 6.844 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2922, allocations: 0 / 0.572 GB, free: 6.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.3191, allocations: 5.054 MB / 0.577 GB, free: 1.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.467, allocations: 7.031 kB / 0.577 GB, free: 1.812 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.054887710997718]