Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001354/0.001354, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001456/0.001456, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2533/0.2533, allocations: 44.9 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] 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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.0033/0.0033, allocations: 63.91 kB / 0.4939 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.367, allocations: 65.46 MB / 0.5579 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003657/0.3707, allocations: 1.751 MB / 0.5596 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3735, allocations: 1.735 MB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.3736, allocations: 0 / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.374, allocations: 43.7 kB / 0.5613 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.3744, allocations: 103.5 kB / 0.5614 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.3746, allocations: 71.75 kB / 0.5615 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.3748, allocations: 115.6 kB / 0.5616 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3749, allocations: 5.828 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.375, allocations: 51.78 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.3752, allocations: 47.77 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.3752, allocations: 4 kB / 0.5617 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3755, allocations: 111.9 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.3755, allocations: 19.92 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.3756, allocations: 39.67 kB / 0.5618 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.3759, allocations: 171.4 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3759, allocations: 0 / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3759, allocations: 4 kB / 0.562 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3759, allocations: 0 / 0.562 GB, free: 3.496 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.0006516/0.3766, allocations: 349.5 kB / 0.5623 GB, free: 3.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3766, allocations: 12.03 kB / 0.5624 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.317e-05/0.3766, allocations: 192 / 0.5624 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.3767, allocations: 30.75 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.3767, allocations: 12.84 kB / 0.5624 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.3771, allocations: 162.3 kB / 0.5626 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3771, allocations: 8 kB / 0.5626 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3771, allocations: 4 kB / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3773, allocations: 67.39 kB / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3773, allocations: 0 / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3773, allocations: 0 / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3773, allocations: 0 / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.3774, allocations: 19.98 kB / 0.5626 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.3778, allocations: 271.8 kB / 0.5629 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.378, allocations: 54.66 kB / 0.563 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.378, allocations: 20.84 kB / 0.563 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3781, allocations: 4 kB / 0.563 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.3782, allocations: 75.33 kB / 0.5631 GB, free: 2.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3782, allocations: 0 / 0.5631 GB, free: 2.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005398/0.3788, allocations: 173.3 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.3788, allocations: 85.11 kB / 0.5633 GB, free: 2.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.379, allocations: 162.1 kB / 0.5635 GB, free: 1.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.379, allocations: 25.7 kB / 0.5635 GB, free: 1.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.3791, allocations: 96.14 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3791, allocations: 31.73 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.3792, allocations: 25.72 kB / 0.5636 GB, free: 1.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3793, allocations: 322.8 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.3794, allocations: 23.92 kB / 0.564 GB, free: 1.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.327e-05/0.3794, allocations: 42.56 kB / 0.564 GB, free: 1.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.3796, allocations: 65.62 kB / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3796, allocations: 4.031 kB / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.3797, allocations: 93.64 kB / 0.5642 GB, free: 1.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3798, allocations: 4 kB / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3798, allocations: 0 / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3798, allocations: 7.938 kB / 0.5642 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.3799, allocations: 19.92 kB / 0.5642 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3799, allocations: 0 / 0.5642 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.3799, allocations: 8 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.38, allocations: 0 / 0.5642 GB, free: 1.039 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.0001254/0.3801, allocations: 125.9 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.3801, allocations: 7.953 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.3804, allocations: 122.4 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3804, allocations: 7.938 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3804, allocations: 0 / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3804, allocations: 0 / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.3809, allocations: 370.3 kB / 0.5648 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3809, allocations: 4.031 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.3809, allocations: 8 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3809, allocations: 0 / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.381, allocations: 8 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.381, allocations: 384 / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.381, allocations: 0 / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.3813, allocations: 208.2 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.3813, allocations: 15.95 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.3813, allocations: 8 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.3814, allocations: 0 / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.3814, allocations: 7.984 kB / 0.565 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.3815, allocations: 8 kB / 0.5651 GB, free: 68 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3816, allocations: 119.2 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3816, allocations: 0 / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000328/0.3819, allocations: 51.86 kB / 0.5652 GB, free: 15.9 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 (8): * Single equations (assignments): 6 * 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.002508/0.3844, allocations: 1.185 MB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3846, allocations: 67.95 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3846, allocations: 0 / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.3847, allocations: 27.92 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3851, allocations: 36.11 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3869, allocations: 1.597 MB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3872, allocations: 0.7001 MB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.3873, allocations: 24.95 kB / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.3874, allocations: 35.41 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3874, allocations: 0 / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.413, allocations: 4.231 MB / 0.5729 GB, free: 8.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.61, allocations: 8 kB / 0.5729 GB, free: 8.113 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.792914741032291] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.851876961009111 11.86731628 11.487821613 Calling exit ...