Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001756/0.001756, 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.001687/0.001687, allocations: 212.5 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2597/0.2597, allocations: 46.97 MB / 361.7 MB, free: 4.059 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+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.Test89,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 0.4969 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3586, allocations: 66.04 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003383/0.362, allocations: 1.71 MB / 0.5631 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.3646, allocations: 1.661 MB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.3647, allocations: 0 / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.365, allocations: 39.77 kB / 0.5648 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.3653, allocations: 103.5 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3655, allocations: 79.67 kB / 0.5649 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3657, allocations: 107.7 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3659, allocations: 9.828 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.3659, allocations: 47.77 kB / 0.5651 GB, free: 468 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.3661, allocations: 59.7 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3661, allocations: 4 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3663, allocations: 95.95 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.3664, allocations: 23.91 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.3664, allocations: 31.8 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.3667, allocations: 167.4 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3668, allocations: 0 / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3668, allocations: 0 / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3668, allocations: 0 / 0.5655 GB, free: 84 kB / 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.000648/0.3674, allocations: 349.5 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3675, allocations: 16.03 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.3675, allocations: 192 / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.3675, allocations: 30.75 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3676, allocations: 16.84 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3679, allocations: 158.4 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3679, allocations: 4 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3679, allocations: 0 / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3681, allocations: 97.09 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3681, allocations: 0 / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3681, allocations: 0 / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3681, allocations: 4 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-05/0.3682, allocations: 23.98 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.3687, allocations: 255.9 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.3689, allocations: 54.69 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.3689, allocations: 20.84 kB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.369, allocations: 0 / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3691, allocations: 75.27 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.3691, allocations: 0 / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006484/0.3698, allocations: 189.3 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.3698, allocations: 81.05 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.37, allocations: 168.1 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3701, allocations: 29.7 kB / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.3701, allocations: 100.1 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.3702, allocations: 27.73 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.3702, allocations: 29.7 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3704, allocations: 314.8 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.3705, allocations: 23.98 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-05/0.3706, allocations: 72.58 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3707, allocations: 69.67 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3707, allocations: 0 / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002069/0.3709, allocations: 101.6 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3709, allocations: 4 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3709, allocations: 0 / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3709, allocations: 7.938 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.371, allocations: 19.92 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.371, allocations: 0 / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.3711, allocations: 8 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3711, allocations: 4.031 kB / 0.5677 GB, free: 13.54 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 (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.0001038/0.3712, allocations: 117.8 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3712, allocations: 11.94 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.3715, allocations: 122.3 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3715, allocations: 7.938 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3715, allocations: 0 / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3715, allocations: 3.984 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.372, allocations: 370.5 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.372, allocations: 0 / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.3721, allocations: 12.03 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3721, allocations: 7.984 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3721, allocations: 4 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3721, allocations: 0 / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3721, allocations: 8.016 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.3724, allocations: 212.5 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.3724, allocations: 19.81 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.3724, allocations: 8 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.3725, allocations: 96 / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3725, allocations: 11.92 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3726, allocations: 8 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3727, allocations: 134.9 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3727, allocations: 0 / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.373, allocations: 51.81 kB / 0.5688 GB, free: 12.36 MB / 414.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.002627/0.3756, allocations: 1.235 MB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3759, allocations: 67.89 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3759, allocations: 0 / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/0.3759, allocations: 27.92 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3763, allocations: 31.97 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.3784, allocations: 1.597 MB / 0.5717 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3785, allocations: 85.45 kB / 0.5717 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.812e-05/0.3786, allocations: 16.97 kB / 0.5718 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3787, allocations: 39.41 kB / 0.5718 GB, free: 9.387 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3787, allocations: 0 / 0.5718 GB, free: 9.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.4053, allocations: 4.406 MB / 0.5761 GB, free: 5.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.82, allocations: 18.34 kB / 0.5761 GB, free: 5.02 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.933246202068403] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.042652638978325 12.06800049 11.696598697 Calling exit ...