Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.001292/0.001292, allocations: 110.5 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.001426/0.001426, allocations: 213.2 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.442/1.442, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2295/0.2295, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",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.002263/0.002263, allocations: 75.88 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3147, allocations: 66.09 MB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003821/0.3186, allocations: 1.761 MB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3207, allocations: 1.053 MB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3208, allocations: 7.938 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.3213, allocations: 107.6 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.3218, allocations: 135.5 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.3221, allocations: 79.67 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.3224, allocations: 123.7 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3225, allocations: 13.95 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3227, allocations: 63.75 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.3228, allocations: 75.67 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3228, allocations: 4 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.323, allocations: 55.98 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.3231, allocations: 27.91 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.3232, allocations: 47.67 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.3235, allocations: 143.4 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3235, allocations: 3.938 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3235, allocations: 0 / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3235, allocations: 0 / 0.5652 GB, free: 0.5781 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008102/0.3243, allocations: 385.3 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.3244, allocations: 8.031 kB / 0.5656 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.3244, allocations: 34.75 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.3245, allocations: 16.84 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.3249, allocations: 174.4 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3249, allocations: 384 / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.325, allocations: 8.328 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3252, allocations: 65.73 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3252, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3252, allocations: 4 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3252, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3253, allocations: 23.97 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3258, allocations: 283.8 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.3261, allocations: 66.47 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.3262, allocations: 16.98 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3262, allocations: 4 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.3264, allocations: 71.38 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.3264, allocations: 3.938 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008758/0.3273, allocations: 241.3 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.3274, allocations: 55.41 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.3277, allocations: 250.7 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.3277, allocations: 33.7 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.3278, allocations: 108.1 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.3279, allocations: 39.69 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.3279, allocations: 29.72 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3281, allocations: 326.8 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.3282, allocations: 39.86 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/0.3283, allocations: 41.7 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3284, allocations: 81.75 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3284, allocations: 4 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002482/0.3287, allocations: 129.5 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3287, allocations: 6.5 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3287, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3287, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.3288, allocations: 27.98 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3288, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.3289, allocations: 15.88 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3289, allocations: 3.984 kB / 0.5677 GB, free: 13.82 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 (13): * Single equations (assignments): 13 * 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.0001453/0.329, allocations: 134.8 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.3291, allocations: 19.89 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.3294, allocations: 143.7 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3294, allocations: 4 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3294, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3294, allocations: 7.922 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.33, allocations: 427.1 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.33, allocations: 0 / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.3301, allocations: 23.86 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.3301, allocations: 4 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3301, allocations: 0 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.3301, allocations: 7.984 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3301, allocations: 0 / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.3304, allocations: 233.1 kB / 0.5686 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.3304, allocations: 19.84 kB / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3305, allocations: 7.938 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.3305, allocations: 4 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3306, allocations: 11.98 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.3306, allocations: 4 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.3308, allocations: 192.2 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3308, allocations: 0 / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.3311, allocations: 31.94 kB / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002954/0.334, allocations: 1.163 MB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3343, allocations: 83.84 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3343, allocations: 0 / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.3344, allocations: 39.92 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3348, allocations: 38.38 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.3373, allocations: 1.887 MB / 0.572 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.3377, allocations: 0.7196 MB / 0.5727 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.318e-05/0.3378, allocations: 20.64 kB / 0.5727 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.707e-05/0.3379, allocations: 47.41 kB / 0.5728 GB, free: 8.508 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3379, allocations: 4 kB / 0.5728 GB, free: 8.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3052/0.643, allocations: 4.125 MB / 0.5768 GB, free: 4.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/9.269, allocations: 2.406 kB / 0.5768 GB, free: 4.391 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.314296714961529] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 9.411160816904157 9.43608164 9.107782139 Calling exit ...