Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.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.00177/0.00177, allocations: 109.2 kB / 20.42 MB, free: 1.684 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.0017/0.0017, allocations: 219.2 kB / 23.72 MB, free: 5.051 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.455/1.455, allocations: 230.2 MB / 257.1 MB, free: 8.5 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.2277/0.2277, allocations: 46.89 MB / 360.3 MB, free: 4.645 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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",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.00228/0.00228, allocations: 87.86 kB / 0.4956 GB, free: 8.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3228, allocations: 65.99 MB / 0.56 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003019/0.3258, allocations: 1.605 MB / 0.5616 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3277, allocations: 1.255 MB / 0.5628 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.3278, allocations: 4 kB / 0.5628 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.328, allocations: 19.84 kB / 0.5628 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.3284, allocations: 83.61 kB / 0.5629 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3286, allocations: 91.72 kB / 0.563 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3288, allocations: 71.81 kB / 0.5631 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3289, allocations: 5.828 kB / 0.5631 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.329, allocations: 27.86 kB / 0.5631 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3292, allocations: 35.83 kB / 0.5631 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3292, allocations: 4 kB / 0.5631 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.3294, allocations: 95.94 kB / 0.5632 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.3294, allocations: 19.86 kB / 0.5632 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.3295, allocations: 27.81 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3297, allocations: 147.5 kB / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3298, allocations: 0 / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3298, allocations: 0 / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3298, allocations: 0 / 0.5634 GB, free: 1.449 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006157/0.3304, allocations: 402.8 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3304, allocations: 12.03 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.3305, allocations: 30.75 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.3305, allocations: 12.89 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3308, allocations: 196.1 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3308, allocations: 4.375 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3308, allocations: 4.375 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.331, allocations: 63.97 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.331, allocations: 3.938 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.331, allocations: 3.984 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.331, allocations: 0 / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3311, allocations: 23.98 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.3316, allocations: 280.8 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.3318, allocations: 42.56 kB / 0.5644 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.3319, allocations: 16.94 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3319, allocations: 0 / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3319, allocations: 30.56 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3319, allocations: 4 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005996/0.3325, allocations: 141.4 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.3326, allocations: 85.11 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3328, allocations: 141.8 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3328, allocations: 25.7 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.3329, allocations: 100.1 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.3329, allocations: 15.86 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3329, allocations: 21.66 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3331, allocations: 326.8 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.3332, allocations: 15.98 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.3332, allocations: 33.7 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3334, allocations: 44.86 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3334, allocations: 0 / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.3336, allocations: 81.62 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3336, allocations: 8 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3336, allocations: 0 / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3336, allocations: 3.938 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.3337, allocations: 15.92 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3337, allocations: 0 / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.3337, allocations: 11.92 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3337, allocations: 8 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.979e-05/0.3338, allocations: 117.8 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.3338, allocations: 4.203 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.3341, allocations: 98.23 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3341, allocations: 0 / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3341, allocations: 7.984 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3341, allocations: 0 / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.3346, allocations: 358.4 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3346, allocations: 0 / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.3346, allocations: 11.98 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3346, allocations: 0 / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3346, allocations: 4 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3346, allocations: 0 / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3346, allocations: 3.938 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3349, allocations: 179.4 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.3349, allocations: 85.05 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.335, allocations: 4 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.335, allocations: 4 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.3351, allocations: 11.92 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3351, allocations: 0 / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3352, allocations: 113.5 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3352, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.3355, allocations: 39.86 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002249/0.3377, allocations: 1.101 MB / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.3379, allocations: 47.95 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3379, allocations: 4 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.503e-05/0.338, allocations: 19.98 kB / 0.5677 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3384, allocations: 22.69 kB / 0.5677 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3402, allocations: 1.432 MB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3405, allocations: 0.6963 MB / 0.5698 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.3406, allocations: 19.98 kB / 0.5698 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.3407, allocations: 27.42 kB / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3407, allocations: 0 / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3681, allocations: 3.25 MB / 0.573 GB, free: 7.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.333, allocations: 2.188 kB / 0.573 GB, free: 7.289 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.188071134965867] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.456626561004668 8.472129258 8.139400429 Calling exit ...