Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.001224/0.001224, allocations: 106.5 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.001303/0.001303, allocations: 217.5 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.312/1.312, allocations: 230.2 MB / 256.2 MB, free: 8.641 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.1988/0.1988, allocations: 46.89 MB / 359.3 MB, free: 5.02 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.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",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.002112/0.002112, allocations: 83.86 kB / 0.4941 GB, free: 9.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2765, allocations: 65.97 MB / 0.5585 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002239/0.2788, allocations: 1.742 MB / 0.5602 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2799, allocations: 1.044 MB / 0.5612 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.2799, allocations: 3.938 kB / 0.5612 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.2802, allocations: 62.34 kB / 0.5613 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.2804, allocations: 103.8 kB / 0.5614 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.2805, allocations: 73.69 kB / 0.5614 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.2807, allocations: 106.8 kB / 0.5615 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.2807, allocations: 4.859 kB / 0.5615 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.2808, allocations: 44.25 kB / 0.5616 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.2809, allocations: 43.17 kB / 0.5616 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2809, allocations: 3.156 kB / 0.5616 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.281, allocations: 38.61 kB / 0.5617 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.281, allocations: 27.75 kB / 0.5617 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.281, allocations: 47.52 kB / 0.5617 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2812, allocations: 135.9 kB / 0.5619 GB, free: 31.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2812, allocations: 0.5312 kB / 0.5619 GB, free: 31.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2812, allocations: 1.062 kB / 0.5619 GB, free: 31.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2812, allocations: 2.969 kB / 0.5619 GB, free: 31.76 MB / 446.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.000404/0.2816, allocations: 457.7 kB / 0.5623 GB, free: 31.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.2817, allocations: 14.81 kB / 0.5623 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.2817, allocations: 34.61 kB / 0.5624 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2817, allocations: 16.84 kB / 0.5624 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.2819, allocations: 220.5 kB / 0.5626 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2819, allocations: 384 / 0.5626 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.2819, allocations: 10.66 kB / 0.5626 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.282, allocations: 57.5 kB / 0.5626 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.282, allocations: 0.5312 kB / 0.5626 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.282, allocations: 2.562 kB / 0.5627 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.282, allocations: 4 kB / 0.5627 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.354e-05/0.2821, allocations: 22.17 kB / 0.5627 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.2823, allocations: 303.8 kB / 0.563 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.2825, allocations: 61.05 kB / 0.563 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.2825, allocations: 18.14 kB / 0.563 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2825, allocations: 0 / 0.563 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.2827, allocations: 76.25 kB / 0.5631 GB, free: 30.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.2827, allocations: 0 / 0.5631 GB, free: 30.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000433/0.2831, allocations: 182.5 kB / 0.5633 GB, free: 30.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.2831, allocations: 51.41 kB / 0.5633 GB, free: 30.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.2833, allocations: 280.7 kB / 0.5636 GB, free: 30.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2833, allocations: 33.02 kB / 0.5636 GB, free: 30.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.2833, allocations: 109.6 kB / 0.5637 GB, free: 30.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.2834, allocations: 29.3 kB / 0.5638 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.2834, allocations: 19.72 kB / 0.5638 GB, free: 30.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.2834, allocations: 331.8 kB / 0.5641 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/0.2835, allocations: 16.58 kB / 0.5641 GB, free: 29.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.085e-05/0.2835, allocations: 37.81 kB / 0.5642 GB, free: 29.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.917e-05/0.2836, allocations: 65.23 kB / 0.5642 GB, free: 29.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2836, allocations: 3.75 kB / 0.5642 GB, free: 29.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001449/0.2838, allocations: 105 kB / 0.5643 GB, free: 29.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.2838, allocations: 6.031 kB / 0.5643 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2838, allocations: 80 / 0.5643 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2838, allocations: 0 / 0.5643 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.2839, allocations: 20.58 kB / 0.5643 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2839, allocations: 11.05 kB / 0.5644 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.2839, allocations: 3.938 kB / 0.5644 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.2839, allocations: 9.938 kB / 0.5644 GB, free: 29.62 MB / 446.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 6.5e-05/0.284, allocations: 133.1 kB / 0.5645 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.284, allocations: 14.66 kB / 0.5645 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.2842, allocations: 123.4 kB / 0.5646 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2842, allocations: 0 / 0.5646 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2842, allocations: 192 / 0.5646 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2842, allocations: 7.5 kB / 0.5646 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.2845, allocations: 408.8 kB / 0.565 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2845, allocations: 384 / 0.565 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.2845, allocations: 10.38 kB / 0.565 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2845, allocations: 14.75 kB / 0.5651 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.2845, allocations: 0 / 0.5651 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2846, allocations: 2.938 kB / 0.5651 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2846, allocations: 0 / 0.5651 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2847, allocations: 209.3 kB / 0.5653 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.2847, allocations: 91.69 kB / 0.5653 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.2848, allocations: 7.094 kB / 0.5653 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.2848, allocations: 0 / 0.5653 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.2848, allocations: 10.12 kB / 0.5654 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2849, allocations: 5.969 kB / 0.5654 GB, free: 28.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.285, allocations: 197.7 kB / 0.5656 GB, free: 28.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.285, allocations: 0 / 0.5656 GB, free: 28.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.2852, allocations: 30.62 kB / 0.5656 GB, free: 28.66 MB / 446.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.001688/0.2869, allocations: 1.104 MB / 0.5667 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.287, allocations: 59.12 kB / 0.5667 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.287, allocations: 0 / 0.5667 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.651e-05/0.2871, allocations: 23.02 kB / 0.5667 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2874, allocations: 32.16 kB / 0.5668 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2887, allocations: 1.829 MB / 0.5686 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2888, allocations: 0.7231 MB / 0.5693 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.311e-05/0.2888, allocations: 13.64 kB / 0.5693 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.2889, allocations: 45.61 kB / 0.5693 GB, free: 25.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2889, allocations: 0 / 0.5693 GB, free: 25.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.313, allocations: 3.811 MB / 0.573 GB, free: 24.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.355, allocations: 2.734 kB / 0.573 GB, free: 24.82 MB / 446.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.940095846002805]