Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001785/0.001785, 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.002046/0.002046, allocations: 211.8 kB / 24.51 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2219/0.2219, allocations: 44.93 MB / 359.6 MB, free: 6.09 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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.002052/0.002052, allocations: 71.91 kB / 0.4939 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 65.46 MB / 0.5578 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003315/0.3515, allocations: 1.666 MB / 0.5594 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.3532, allocations: 0.9588 MB / 0.5604 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.695e-05/0.3533, allocations: 0 / 0.5604 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.3536, allocations: 51.77 kB / 0.5604 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.3539, allocations: 99.53 kB / 0.5605 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.3541, allocations: 75.72 kB / 0.5606 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.3543, allocations: 99.64 kB / 0.5607 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.3543, allocations: 8.234 kB / 0.5607 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.3544, allocations: 47.78 kB / 0.5607 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.3545, allocations: 31.84 kB / 0.5607 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3545, allocations: 0 / 0.5607 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.3546, allocations: 35.98 kB / 0.5608 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.3547, allocations: 23.86 kB / 0.5608 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.3547, allocations: 35.73 kB / 0.5608 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3549, allocations: 129.2 kB / 0.561 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3549, allocations: 0 / 0.561 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3549, allocations: 0 / 0.561 GB, free: 4.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.355, allocations: 0 / 0.561 GB, free: 4.312 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.0006248/0.3556, allocations: 373.3 kB / 0.5613 GB, free: 3.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3556, allocations: 12.03 kB / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.3556, allocations: 192 / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.3557, allocations: 34.75 kB / 0.5614 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.3557, allocations: 12.89 kB / 0.5614 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.356, allocations: 163.2 kB / 0.5615 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.356, allocations: 8.125 kB / 0.5615 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.356, allocations: 3.984 kB / 0.5615 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3562, allocations: 45.69 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3562, allocations: 0 / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3562, allocations: 3.984 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3562, allocations: 4 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.3563, allocations: 12 kB / 0.5616 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.3565, allocations: 160.8 kB / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.3567, allocations: 58.48 kB / 0.5618 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.3567, allocations: 20.84 kB / 0.5618 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3567, allocations: 4 kB / 0.5618 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.3569, allocations: 67.33 kB / 0.5619 GB, free: 3.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3569, allocations: 0 / 0.5619 GB, free: 3.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003203/0.3572, allocations: 109.5 kB / 0.562 GB, free: 3.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3573, allocations: 55.39 kB / 0.5621 GB, free: 3.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3576, allocations: 279.8 kB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3576, allocations: 25.7 kB / 0.5623 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.3577, allocations: 112.1 kB / 0.5625 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3577, allocations: 15.84 kB / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3577, allocations: 25.7 kB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3579, allocations: 326.8 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.358, allocations: 15.98 kB / 0.5628 GB, free: 2.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.358, allocations: 29.72 kB / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.3581, allocations: 49.64 kB / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3581, allocations: 3.938 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.3583, allocations: 89.58 kB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3583, allocations: 6.656 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3583, allocations: 0 / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3583, allocations: 8.25 kB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.3584, allocations: 11.94 kB / 0.563 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3584, allocations: 0 / 0.563 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.3585, allocations: 19.97 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3585, allocations: 0 / 0.563 GB, free: 1.98 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.0001193/0.3586, allocations: 137.8 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.3586, allocations: 15.91 kB / 0.5632 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.3588, allocations: 102.7 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3588, allocations: 4 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3589, allocations: 0 / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3589, allocations: 0 / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.359, allocations: 168.6 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.359, allocations: 0 / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.359, allocations: 11.94 kB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.359, allocations: 0 / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3591, allocations: 0 / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3591, allocations: 0 / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3591, allocations: 4 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.3593, allocations: 125 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.3593, allocations: 15.89 kB / 0.5636 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3593, allocations: 4 kB / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.3594, allocations: 0 / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3594, allocations: 7.984 kB / 0.5636 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3594, allocations: 8 kB / 0.5636 GB, free: 1.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.3596, allocations: 200.6 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3596, allocations: 3.938 kB / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.3598, allocations: 27.92 kB / 0.5638 GB, free: 1.078 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 (6): * Single equations (assignments): 4 * 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.00201/0.3618, allocations: 0.9821 MB / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.362, allocations: 47.92 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.362, allocations: 0 / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/0.3621, allocations: 19.98 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3624, allocations: 34.98 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3644, allocations: 1.69 MB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3645, allocations: 105.7 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.3645, allocations: 20.47 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/0.3646, allocations: 43.42 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3646, allocations: 4 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.3896, allocations: 3.844 MB / 0.5705 GB, free: 10.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.95, allocations: 8.047 kB / 0.5705 GB, free: 10.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.009217769955285] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.166762411943637 12.183371485 11.825215499 Calling exit ...