Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001708/0.001708, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002165/0.002165, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2559/0.2559, allocations: 46.97 MB / 361.7 MB, free: 4.027 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.91 kB / 0.4969 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3809, allocations: 66.02 MB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003661/0.3846, allocations: 1.714 MB / 0.5631 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3864, allocations: 0.9627 MB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.3865, allocations: 0 / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.3868, allocations: 47.75 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.3871, allocations: 103.5 kB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.3873, allocations: 79.67 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.3876, allocations: 103.7 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3877, allocations: 5.828 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.3878, allocations: 43.78 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3879, allocations: 39.78 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3879, allocations: 4 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.388, allocations: 43.92 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.3881, allocations: 27.91 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.3882, allocations: 31.8 kB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.3885, allocations: 119.5 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3885, allocations: 0 / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3885, allocations: 0 / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3885, allocations: 0 / 0.5647 GB, free: 0.875 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.0007258/0.3892, allocations: 349.5 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.3893, allocations: 8.031 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.657e-05/0.3893, allocations: 4.188 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.3893, allocations: 34.69 kB / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3894, allocations: 12.89 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.3898, allocations: 155 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3898, allocations: 4.125 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.3898, allocations: 7.984 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.39, allocations: 53.67 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.39, allocations: 0 / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.39, allocations: 0 / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.39, allocations: 7.938 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.634e-05/0.3901, allocations: 27.92 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.3906, allocations: 255.9 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3908, allocations: 62.66 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.3909, allocations: 20.84 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3909, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.3911, allocations: 71.33 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3911, allocations: 0 / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006428/0.3918, allocations: 181.3 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.3918, allocations: 55.41 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.392, allocations: 202.2 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3921, allocations: 33.7 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.3922, allocations: 104.1 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.3922, allocations: 31.77 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.3923, allocations: 21.72 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3924, allocations: 322.8 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.905e-05/0.3925, allocations: 23.98 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.3925, allocations: 37.7 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.3927, allocations: 62.02 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3927, allocations: 0 / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.3929, allocations: 109.5 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3929, allocations: 7.984 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3929, allocations: 4 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3929, allocations: 4 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.393, allocations: 15.94 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.393, allocations: 3.938 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.3931, allocations: 4 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3931, allocations: 7.984 kB / 0.5669 GB, free: 14.41 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.0001194/0.3932, allocations: 121.8 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3932, allocations: 15.94 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.3935, allocations: 119.2 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3935, allocations: 4 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.3935, allocations: 8.016 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3935, allocations: 3.938 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.394, allocations: 370.4 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.394, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.3941, allocations: 8 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3941, allocations: 3.938 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3941, allocations: 8.031 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3941, allocations: 3.938 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3941, allocations: 240 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3944, allocations: 220.2 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.3944, allocations: 11.89 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3944, allocations: 0 / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.3945, allocations: 8 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3945, allocations: 7.984 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3945, allocations: 4 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3947, allocations: 148.2 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3947, allocations: 4 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3949, allocations: 31.92 kB / 0.5679 GB, free: 13.23 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.00256/0.3975, allocations: 1.138 MB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.3978, allocations: 63.91 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3978, allocations: 0 / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.3979, allocations: 31.92 kB / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3983, allocations: 35.09 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.4004, allocations: 1.675 MB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.678e-05/0.4005, allocations: 92.31 kB / 0.5709 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.758e-05/0.4005, allocations: 17.27 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.4006, allocations: 39.42 kB / 0.5709 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4006, allocations: 0 / 0.5709 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.4248, allocations: 3.811 MB / 0.5746 GB, free: 6.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 8.062 kB / 0.5747 GB, free: 6.492 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.879933111020364] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.85615189105738 11.880556416 11.487634282 Calling exit ...