Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001551/0.001551, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001986/0.001986, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2201/0.2201, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.003018/0.003018, allocations: 67.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3564, allocations: 65.46 MB / 0.5578 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003255/0.3597, allocations: 1.705 MB / 0.5595 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3615, allocations: 1.034 MB / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.3615, allocations: 0 / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.3618, allocations: 55.75 kB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.3621, allocations: 91.59 kB / 0.5607 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.3623, allocations: 79.67 kB / 0.5607 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3624, allocations: 99.69 kB / 0.5608 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.3625, allocations: 8.234 kB / 0.5608 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.98e-05/0.3626, allocations: 47.72 kB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.3627, allocations: 31.8 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3627, allocations: 4 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.3628, allocations: 27.98 kB / 0.5609 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.3628, allocations: 31.91 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.3629, allocations: 39.67 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3631, allocations: 125.3 kB / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3631, allocations: 4 kB / 0.5611 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3631, allocations: 4 kB / 0.5611 GB, free: 4.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3631, allocations: 0 / 0.5611 GB, free: 4.363 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005656/0.3637, allocations: 369.3 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3637, allocations: 8.031 kB / 0.5615 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.543e-05/0.3637, allocations: 4.188 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.3638, allocations: 34.73 kB / 0.5615 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3638, allocations: 12.89 kB / 0.5615 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3641, allocations: 163.2 kB / 0.5617 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3641, allocations: 4.125 kB / 0.5617 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3642, allocations: 8 kB / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3643, allocations: 53.61 kB / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3643, allocations: 0 / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3643, allocations: 0 / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3643, allocations: 0 / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.3644, allocations: 15.98 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.3646, allocations: 160.8 kB / 0.5619 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.3648, allocations: 58.55 kB / 0.562 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.3648, allocations: 16.84 kB / 0.562 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3648, allocations: 7.938 kB / 0.562 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.365, allocations: 63.39 kB / 0.5621 GB, free: 3.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.365, allocations: 0 / 0.5621 GB, free: 3.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002883/0.3653, allocations: 101.6 kB / 0.5622 GB, free: 3.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3653, allocations: 51.41 kB / 0.5622 GB, free: 3.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.3656, allocations: 267.8 kB / 0.5625 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3656, allocations: 33.64 kB / 0.5625 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.3657, allocations: 116.1 kB / 0.5626 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.3657, allocations: 23.83 kB / 0.5626 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.3658, allocations: 13.72 kB / 0.5627 GB, free: 2.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3659, allocations: 330.8 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.366, allocations: 19.97 kB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.366, allocations: 33.7 kB / 0.563 GB, free: 2.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.3661, allocations: 37.66 kB / 0.5631 GB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3661, allocations: 0 / 0.5631 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001701/0.3663, allocations: 93.52 kB / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3663, allocations: 8.031 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3663, allocations: 4 kB / 0.5632 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3663, allocations: 3.938 kB / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.3664, allocations: 8 kB / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3664, allocations: 0 / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.3665, allocations: 7.953 kB / 0.5632 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3665, allocations: 320 / 0.5632 GB, free: 2.062 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 (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 prepare postOptimizeDAE: time 0.000121/0.3666, allocations: 152.6 kB / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.3666, allocations: 15.91 kB / 0.5633 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.3668, allocations: 94.77 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3668, allocations: 4 kB / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3668, allocations: 0 / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3668, allocations: 0 / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.367, allocations: 168.6 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.367, allocations: 4 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.367, allocations: 3.984 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.367, allocations: 4 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.3671, allocations: 0 / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3671, allocations: 3.938 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3671, allocations: 4 kB / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.3672, allocations: 121 kB / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.3673, allocations: 11.91 kB / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.3673, allocations: 0 / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.3673, allocations: 0 / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3674, allocations: 7.984 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3674, allocations: 0 / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.3676, allocations: 208.6 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3676, allocations: 0 / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.3678, allocations: 19.92 kB / 0.564 GB, free: 1.176 MB / 398.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: 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 (5): * Single equations (assignments): 3 * 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.001902/0.3697, allocations: 0.9549 MB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.3698, allocations: 39.98 kB / 0.5649 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3698, allocations: 0 / 0.5649 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.3699, allocations: 23.91 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3702, allocations: 35.83 kB / 0.565 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3724, allocations: 1.682 MB / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3728, allocations: 0.7235 MB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.3729, allocations: 8.75 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.3729, allocations: 39.42 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3729, allocations: 0 / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3962, allocations: 3.694 MB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 10.78 kB / 0.571 GB, free: 10.07 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.647275927010924] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.786019392020535 11.807623263 11.440997406 Calling exit ...