Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001313/0.001313, 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.001499/0.001499, 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.485/1.485, 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.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.2324/0.2324, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.002095/0.002095, allocations: 65.31 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3853, allocations: 65.46 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003512/0.3888, allocations: 1.715 MB / 0.5595 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3907, allocations: 0.9676 MB / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.3908, allocations: 4 kB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.3912, allocations: 47.75 kB / 0.5605 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.3915, allocations: 95.61 kB / 0.5605 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.3918, allocations: 87.66 kB / 0.5606 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.392, allocations: 111.6 kB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3921, allocations: 9.812 kB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3922, allocations: 39.8 kB / 0.5608 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.3923, allocations: 31.84 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.3923, allocations: 4 kB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3924, allocations: 47.97 kB / 0.5609 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.3925, allocations: 23.86 kB / 0.5609 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.3926, allocations: 23.81 kB / 0.5609 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.3928, allocations: 139.4 kB / 0.561 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3928, allocations: 0 / 0.561 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3928, allocations: 4 kB / 0.561 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3929, allocations: 0 / 0.561 GB, free: 4.184 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.0006439/0.3935, allocations: 365.4 kB / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3935, allocations: 8.031 kB / 0.5614 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.129e-05/0.3936, allocations: 192 / 0.5614 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.3936, allocations: 42.73 kB / 0.5614 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.3936, allocations: 12.89 kB / 0.5615 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.3939, allocations: 151.1 kB / 0.5616 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.394, allocations: 8.125 kB / 0.5616 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.394, allocations: 7.938 kB / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3941, allocations: 65.61 kB / 0.5617 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3942, allocations: 0 / 0.5617 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3942, allocations: 0 / 0.5617 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3942, allocations: 0 / 0.5617 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.275e-05/0.3943, allocations: 19.98 kB / 0.5617 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.3947, allocations: 267.9 kB / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.3949, allocations: 62.61 kB / 0.562 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.3949, allocations: 16.86 kB / 0.562 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.395, allocations: 4 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.3951, allocations: 71.38 kB / 0.5621 GB, free: 2.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3952, allocations: 0 / 0.5621 GB, free: 2.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005997/0.3957, allocations: 185.3 kB / 0.5623 GB, free: 2.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.3958, allocations: 55.41 kB / 0.5623 GB, free: 2.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.3961, allocations: 242.9 kB / 0.5626 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3961, allocations: 33.7 kB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.3962, allocations: 112 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3962, allocations: 23.84 kB / 0.5627 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.3963, allocations: 25.72 kB / 0.5627 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3964, allocations: 326.8 kB / 0.5631 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.3965, allocations: 27.92 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.3966, allocations: 37.7 kB / 0.5631 GB, free: 1.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3967, allocations: 61.69 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3967, allocations: 4 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.3969, allocations: 105.5 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3969, allocations: 4 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3969, allocations: 0 / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.397, allocations: 4.031 kB / 0.5633 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.3971, allocations: 16 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3971, allocations: 3.938 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.3971, allocations: 12.3 kB / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.3971, allocations: 4.156 kB / 0.5633 GB, free: 1.633 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.0001228/0.3972, allocations: 140.4 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3973, allocations: 15.91 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.3976, allocations: 131 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3976, allocations: 0 / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3976, allocations: 7.875 kB / 0.5636 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3976, allocations: 4 kB / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.3981, allocations: 378.4 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3981, allocations: 0 / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.3981, allocations: 11.98 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3981, allocations: 3.938 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3981, allocations: 4 kB / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3981, allocations: 0 / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3981, allocations: 0 / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.3985, allocations: 220.5 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.3985, allocations: 23.86 kB / 0.5642 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3985, allocations: 4 kB / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3986, allocations: 0 / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.3986, allocations: 11.98 kB / 0.5642 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3987, allocations: 4 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3988, allocations: 179.2 kB / 0.5644 GB, free: 436 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3988, allocations: 0 / 0.5644 GB, free: 436 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3991, allocations: 20 kB / 0.5644 GB, free: 416 kB / 398.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.002397/0.4015, allocations: 1.146 MB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.4017, allocations: 51.97 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4017, allocations: 0 / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.4018, allocations: 35.92 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4022, allocations: 37.42 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.4045, allocations: 1.77 MB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.4046, allocations: 96.73 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.4046, allocations: 12.98 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.4047, allocations: 47.41 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4047, allocations: 3.938 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.4286, allocations: 3.963 MB / 0.5714 GB, free: 9.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 17.08 kB / 0.5714 GB, free: 9.383 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.898473966983147] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.040560057968833 12.055902265 11.660011325 Calling exit ...