Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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.001813/0.001813, allocations: 106.5 kB / 21.22 MB, free: 0.5117 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.001959/0.001959, allocations: 210.3 kB / 24.54 MB, free: 3.879 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.472/1.472, allocations: 230.5 MB / 258.2 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2204/0.2204, allocations: 46.93 MB / 361.6 MB, free: 4.172 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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",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.002285/0.002285, allocations: 75.88 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3002, allocations: 66.09 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003125/0.3033, allocations: 1.741 MB / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3052, allocations: 1.041 MB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.3053, allocations: 0 / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.3056, allocations: 51.7 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.3059, allocations: 99.53 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3061, allocations: 79.72 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.3063, allocations: 107.6 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.3064, allocations: 9.969 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3065, allocations: 55.7 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.3066, allocations: 27.86 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3066, allocations: 4 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.366e-05/0.3067, allocations: 43.92 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.3068, allocations: 23.91 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.3068, allocations: 31.75 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3071, allocations: 131.4 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3071, allocations: 0 / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3071, allocations: 4 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3071, allocations: 0 / 0.5649 GB, free: 0.8164 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.0005475/0.3076, allocations: 349.5 kB / 0.5653 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3077, allocations: 12.03 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.3077, allocations: 34.69 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.3077, allocations: 8.891 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.308, allocations: 174.2 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3081, allocations: 384 / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3081, allocations: 4.359 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3082, allocations: 69.8 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3082, allocations: 0 / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3082, allocations: 0 / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3083, allocations: 0 / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.3083, allocations: 23.92 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.3087, allocations: 259.9 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3089, allocations: 54.69 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.309, allocations: 20.84 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.309, allocations: 0 / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.3091, allocations: 67.33 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3091, allocations: 4 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005467/0.3097, allocations: 185.3 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3097, allocations: 51.41 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.3099, allocations: 214.2 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.31, allocations: 29.69 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.31, allocations: 104.1 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.3101, allocations: 31.77 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.3101, allocations: 21.72 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3103, allocations: 330.8 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.3103, allocations: 23.98 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.3104, allocations: 37.64 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.3105, allocations: 61.64 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3105, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.3107, allocations: 97.59 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3107, allocations: 4 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3107, allocations: 8.031 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3107, allocations: 0 / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3109, allocations: 19.92 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3109, allocations: 0 / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.3109, allocations: 8 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3109, allocations: 4 kB / 0.5671 GB, free: 14.34 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 0.0001125/0.311, allocations: 130.6 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.3111, allocations: 19.84 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.3113, allocations: 119.1 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3113, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3113, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3113, allocations: 4.375 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.3118, allocations: 370.4 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3118, allocations: 4 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.3118, allocations: 12 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3118, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.3118, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.3119, allocations: 11.97 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3119, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3121, allocations: 208.2 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.3121, allocations: 11.94 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3122, allocations: 0 / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.3122, allocations: 7.938 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.3123, allocations: 11.98 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3123, allocations: 4 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3124, allocations: 156.3 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3124, allocations: 0 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3127, allocations: 23.94 kB / 0.5682 GB, free: 13.18 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.002166/0.3149, allocations: 1.086 MB / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3151, allocations: 59.91 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3151, allocations: 4.062 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.3151, allocations: 27.92 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3155, allocations: 30.47 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3175, allocations: 1.69 MB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.3178, allocations: 0.708 MB / 0.5717 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.3179, allocations: 20.58 kB / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.318, allocations: 39.42 kB / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.318, allocations: 0 / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.3444, allocations: 3.591 MB / 0.5753 GB, free: 5.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.438, allocations: 6.406 kB / 0.5753 GB, free: 5.949 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.27398095978424] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.577805449720472 8.60150035 8.289951321 Calling exit ...