Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.001794/0.001794, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002418/0.002418, allocations: 220 kB / 23 MB, free: 5.617 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.432/1.432, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.2576/0.2576, allocations: 46.89 MB / 359.4 MB, free: 4.902 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.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",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.002449/0.002449, allocations: 79.86 kB / 0.4942 GB, free: 8.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3148, allocations: 65.99 MB / 0.5587 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00312/0.318, allocations: 1.733 MB / 0.5604 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.3205, allocations: 1.716 MB / 0.562 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.3206, allocations: 3.938 kB / 0.562 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3209, allocations: 39.77 kB / 0.5621 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.3212, allocations: 99.53 kB / 0.5622 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.3214, allocations: 83.66 kB / 0.5623 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3215, allocations: 91.77 kB / 0.5623 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.3216, allocations: 21.8 kB / 0.5624 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3217, allocations: 51.72 kB / 0.5624 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.3219, allocations: 43.83 kB / 0.5625 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3219, allocations: 4 kB / 0.5625 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.3221, allocations: 115.9 kB / 0.5626 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.3222, allocations: 15.94 kB / 0.5626 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.3222, allocations: 31.8 kB / 0.5626 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.3225, allocations: 171.3 kB / 0.5628 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3225, allocations: 0 / 0.5628 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3225, allocations: 0 / 0.5628 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3225, allocations: 4 kB / 0.5628 GB, free: 0.8789 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.0006583/0.3232, allocations: 434.6 kB / 0.5632 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3232, allocations: 8.031 kB / 0.5632 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.3233, allocations: 38.75 kB / 0.5632 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.3233, allocations: 12.84 kB / 0.5632 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.3237, allocations: 216.1 kB / 0.5635 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3237, allocations: 384 / 0.5635 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3237, allocations: 3.938 kB / 0.5635 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3239, allocations: 71.39 kB / 0.5635 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3239, allocations: 3.984 kB / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3239, allocations: 4 kB / 0.5635 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3239, allocations: 4.047 kB / 0.5635 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.324, allocations: 15.94 kB / 0.5636 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.3245, allocations: 292.7 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.3246, allocations: 58.67 kB / 0.5639 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.3247, allocations: 16.86 kB / 0.5639 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.3247, allocations: 4 kB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.3249, allocations: 67.38 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3249, allocations: 0 / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005816/0.3255, allocations: 185.3 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.3256, allocations: 77.11 kB / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3258, allocations: 165.7 kB / 0.5644 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3258, allocations: 37.64 kB / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.3259, allocations: 96.12 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.3259, allocations: 27.73 kB / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.3259, allocations: 25.72 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3261, allocations: 322.8 kB / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.3262, allocations: 23.98 kB / 0.5649 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.3263, allocations: 42.56 kB / 0.5649 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3264, allocations: 53.72 kB / 0.565 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3264, allocations: 0 / 0.565 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002122/0.3266, allocations: 105.6 kB / 0.5651 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3266, allocations: 12.06 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3266, allocations: 0 / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3266, allocations: 0 / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3267, allocations: 19.92 kB / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.3268, allocations: 4 kB / 0.5651 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.3268, allocations: 3.938 kB / 0.5651 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3268, allocations: 4 kB / 0.5651 GB, free: 14.21 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.0001283/0.3269, allocations: 117.8 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.327, allocations: 11.95 kB / 0.5652 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.3272, allocations: 118.3 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3272, allocations: 0 / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3272, allocations: 0 / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3272, allocations: 7.922 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.3278, allocations: 403.2 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3278, allocations: 4 kB / 0.5658 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.3278, allocations: 8 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3278, allocations: 7.875 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3278, allocations: 4.219 kB / 0.5658 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3278, allocations: 0 / 0.5658 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3278, allocations: 7.938 kB / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3281, allocations: 196.3 kB / 0.566 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.3281, allocations: 85.05 kB / 0.5661 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.3282, allocations: 7.938 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.3283, allocations: 4 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3283, allocations: 16.3 kB / 0.5661 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3283, allocations: 4 kB / 0.5661 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.3284, allocations: 123.2 kB / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3284, allocations: 0 / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.3287, allocations: 47.86 kB / 0.5662 GB, free: 12.95 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.002603/0.3313, allocations: 1.179 MB / 0.5674 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.3316, allocations: 55.91 kB / 0.5675 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3316, allocations: 4.062 kB / 0.5675 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.3317, allocations: 27.92 kB / 0.5675 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.3321, allocations: 33.14 kB / 0.5675 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3342, allocations: 1.607 MB / 0.5691 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3345, allocations: 0.7002 MB / 0.5698 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.593e-05/0.3346, allocations: 16.88 kB / 0.5698 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.3347, allocations: 35.42 kB / 0.5698 GB, free: 9.352 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3347, allocations: 192 / 0.5698 GB, free: 9.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.3624, allocations: 4.049 MB / 0.5738 GB, free: 5.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.551, allocations: 2.188 kB / 0.5738 GB, free: 5.289 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.405063140991842] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.680135030997917 8.706587737 8.379216763 Calling exit ...