Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 214 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 44.94 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 59.91 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 65.47 MB / 0.5578 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003356/0.3354, allocations: 1.699 MB / 0.5595 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3373, allocations: 0.9676 MB / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3374, allocations: 3.938 kB / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.3378, allocations: 59.69 kB / 0.5605 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.3382, allocations: 99.61 kB / 0.5606 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.3385, allocations: 83.66 kB / 0.5606 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3387, allocations: 99.75 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3388, allocations: 9.812 kB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.3389, allocations: 43.78 kB / 0.5608 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.339, allocations: 43.67 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.339, allocations: 4 kB / 0.5608 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.3391, allocations: 43.97 kB / 0.5609 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.3392, allocations: 27.86 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.3392, allocations: 31.8 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3395, allocations: 147.3 kB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3395, allocations: 0 / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3395, allocations: 3.938 kB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3395, allocations: 0 / 0.5611 GB, free: 4.156 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.0006384/0.3401, allocations: 377.3 kB / 0.5614 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3402, allocations: 8.031 kB / 0.5614 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.953e-05/0.3402, allocations: 192 / 0.5614 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.3402, allocations: 38.73 kB / 0.5615 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.3403, allocations: 12.84 kB / 0.5615 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.3406, allocations: 159.3 kB / 0.5616 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3407, allocations: 12.12 kB / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3407, allocations: 4 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3408, allocations: 57.61 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3409, allocations: 0 / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3409, allocations: 0 / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3409, allocations: 4 kB / 0.5617 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.341, allocations: 19.98 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.3414, allocations: 275.8 kB / 0.562 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.3416, allocations: 62.61 kB / 0.5621 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.3416, allocations: 28.83 kB / 0.5621 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.3417, allocations: 0 / 0.5621 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.3418, allocations: 67.39 kB / 0.5621 GB, free: 2.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3418, allocations: 0 / 0.5621 GB, free: 2.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006506/0.3425, allocations: 185.3 kB / 0.5623 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.3426, allocations: 59.41 kB / 0.5624 GB, free: 2.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.3429, allocations: 283.7 kB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3429, allocations: 29.7 kB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.343, allocations: 112.1 kB / 0.5628 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3431, allocations: 27.8 kB / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.3431, allocations: 29.7 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3433, allocations: 322.8 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.3434, allocations: 23.98 kB / 0.5632 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.3434, allocations: 45.56 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.3436, allocations: 65.77 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3436, allocations: 0 / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002178/0.3438, allocations: 113.5 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3438, allocations: 10.69 kB / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3438, allocations: 0 / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3438, allocations: 0 / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3439, allocations: 19.98 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.344, allocations: 3.938 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.344, allocations: 0 / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.344, allocations: 4 kB / 0.5634 GB, free: 1.535 MB / 398.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.0001542/0.3442, allocations: 140.6 kB / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3442, allocations: 20.27 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.3445, allocations: 123.1 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3445, allocations: 7.938 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3445, allocations: 3.938 kB / 0.5637 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3445, allocations: 4 kB / 0.5637 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.3451, allocations: 382.4 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3451, allocations: 0 / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.3452, allocations: 8 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.3452, allocations: 3.938 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3452, allocations: 7.938 kB / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3452, allocations: 0 / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3452, allocations: 32 / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3455, allocations: 224.2 kB / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.3455, allocations: 15.84 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3456, allocations: 4 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.3457, allocations: 4 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3457, allocations: 7.984 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3457, allocations: 4.375 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.3459, allocations: 208.6 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3459, allocations: 0 / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000271/0.3462, allocations: 31.89 kB / 0.5646 GB, free: 272 kB / 398.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 (9): * Single equations (assignments): 7 * 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.002372/0.3486, allocations: 1.134 MB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3488, allocations: 59.91 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3488, allocations: 0 / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.3489, allocations: 48.06 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3493, allocations: 31.23 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.3517, allocations: 1.839 MB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3518, allocations: 109.1 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.3519, allocations: 13.05 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.352, allocations: 47.41 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.352, allocations: 0 / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.3759, allocations: 4.158 MB / 0.5718 GB, free: 8.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12, allocations: 14.62 kB / 0.5718 GB, free: 8.977 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.030910184024833] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.21792169706896 12.24635425 11.901787184 Calling exit ...