Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001841/0.001841, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002178/0.002178, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.521/1.521, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.2385/0.2385, allocations: 46.93 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.002462/0.002462, allocations: 79.86 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3388, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003345/0.3421, allocations: 1.611 MB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3433, allocations: 0.5849 MB / 0.5637 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.3434, allocations: 0 / 0.5637 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.3436, allocations: 23.86 kB / 0.5637 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.3439, allocations: 79.56 kB / 0.5638 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.3443, allocations: 115.7 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.3445, allocations: 75.77 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.3446, allocations: 15.92 kB / 0.564 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.3446, allocations: 23.92 kB / 0.564 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.3447, allocations: 35.84 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3447, allocations: 8 kB / 0.564 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.3449, allocations: 99.88 kB / 0.5641 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.345, allocations: 19.91 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.345, allocations: 23.81 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3453, allocations: 143.5 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3453, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3453, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3453, allocations: 0 / 0.5643 GB, free: 1.434 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.000518/0.3459, allocations: 345.5 kB / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3459, allocations: 12.03 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.3459, allocations: 30.75 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.346, allocations: 8.891 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3462, allocations: 138.4 kB / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3462, allocations: 384 / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.3462, allocations: 4.375 kB / 0.5648 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3464, allocations: 59.97 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3464, allocations: 7.922 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3464, allocations: 4 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3464, allocations: 3.938 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.487e-05/0.3465, allocations: 27.97 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.347, allocations: 260 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3471, allocations: 54.42 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.3472, allocations: 28.94 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3472, allocations: 0 / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3473, allocations: 30.56 kB / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3473, allocations: 0 / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000675/0.3479, allocations: 189.3 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.348, allocations: 81.11 kB / 0.5655 GB, free: 8 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3482, allocations: 149.5 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3482, allocations: 29.7 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.3483, allocations: 92.12 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.3483, allocations: 23.8 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.3484, allocations: 29.7 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3486, allocations: 322.8 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.3487, allocations: 27.98 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.3487, allocations: 49.69 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3489, allocations: 76.97 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3489, allocations: 3.938 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002448/0.3492, allocations: 109.6 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3492, allocations: 6.5 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3492, allocations: 4.031 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3492, allocations: 0 / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3493, allocations: 19.98 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3493, allocations: 0 / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.3494, allocations: 7.984 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3494, allocations: 4 kB / 0.5665 GB, free: 15.02 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 (8): * Single equations (assignments): 8 * 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.0001228/0.3495, allocations: 126.6 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3496, allocations: 7.953 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.3499, allocations: 110.4 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3499, allocations: 4 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3499, allocations: 0 / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3499, allocations: 4 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/0.3505, allocations: 369.4 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3505, allocations: 0 / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.3505, allocations: 23.98 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3505, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3505, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.3506, allocations: 3.938 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3506, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.3508, allocations: 199.4 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.3509, allocations: 7.953 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3509, allocations: 7.984 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.351, allocations: 15.88 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.351, allocations: 3.984 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.351, allocations: 4.281 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.3511, allocations: 111.3 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3511, allocations: 0 / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.3515, allocations: 39.86 kB / 0.5674 GB, free: 13.92 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 (7): * Single equations (assignments): 7 * 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.002388/0.3538, allocations: 1.132 MB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.3541, allocations: 63.95 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3541, allocations: 0 / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3543, allocations: 39.91 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3547, allocations: 26.11 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.3566, allocations: 1.523 MB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.357, allocations: 0.7002 MB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.3571, allocations: 28.64 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.3571, allocations: 27.42 kB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3571, allocations: 0 / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3858, allocations: 3.58 MB / 0.5744 GB, free: 6.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.461, allocations: 7.359 kB / 0.5744 GB, free: 6.805 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.641002295073122] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.603966413065791 8.620552989 8.271926731 Calling exit ...