Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001543/0.001543, 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.001743/0.001743, allocations: 212.6 kB / 24.51 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2376/0.2376, allocations: 46.96 MB / 361.7 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] 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.Test56,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003083/0.003083, allocations: 67.91 kB / 0.4969 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4051, allocations: 66.03 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003461/0.4085, allocations: 1.714 MB / 0.5631 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.4113, allocations: 1.653 MB / 0.5647 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.4114, allocations: 4 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.4117, allocations: 35.77 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.4121, allocations: 103.5 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.4123, allocations: 79.72 kB / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.4125, allocations: 107.6 kB / 0.565 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.4126, allocations: 13.81 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.4127, allocations: 51.78 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4129, allocations: 43.77 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.4129, allocations: 4 kB / 0.5651 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.4131, allocations: 103.9 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.4132, allocations: 19.91 kB / 0.5652 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.4132, allocations: 27.86 kB / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.4136, allocations: 175.3 kB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4136, allocations: 0 / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4136, allocations: 4 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4136, allocations: 3.938 kB / 0.5654 GB, free: 80 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.0006893/0.4143, allocations: 345.7 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.4143, allocations: 8.031 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.052e-05/0.4143, allocations: 192 / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.4144, allocations: 38.73 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.4144, allocations: 12.84 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.4148, allocations: 161.3 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4148, allocations: 4 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4148, allocations: 4 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.4151, allocations: 101 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4151, allocations: 4 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4151, allocations: 0 / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4151, allocations: 0 / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.4152, allocations: 19.98 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.4156, allocations: 255.9 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.4158, allocations: 62.55 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.4159, allocations: 28.84 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.4159, allocations: 0 / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.4161, allocations: 67.39 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4161, allocations: 0 / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000674/0.4167, allocations: 181.3 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.4168, allocations: 81.11 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.417, allocations: 171.8 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.417, allocations: 25.7 kB / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.4171, allocations: 100.1 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.4172, allocations: 39.72 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.4172, allocations: 21.72 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4174, allocations: 322.8 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4175, allocations: 27.92 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.4177, allocations: 64.64 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4178, allocations: 61.7 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4178, allocations: 0 / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002221/0.418, allocations: 109.6 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.418, allocations: 8.062 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.4181, allocations: 4 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4181, allocations: 3.938 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4182, allocations: 15.98 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.4182, allocations: 0 / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.4182, allocations: 4 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.4182, allocations: 4 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.0001209/0.4184, allocations: 125.8 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.4184, allocations: 11.95 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.4187, allocations: 122.3 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4187, allocations: 3.938 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4187, allocations: 288 / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4187, allocations: 0 / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.4192, allocations: 374.3 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4192, allocations: 7.938 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.4193, allocations: 8 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4193, allocations: 0 / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4193, allocations: 4 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4193, allocations: 7.938 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4193, allocations: 4.031 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.4196, allocations: 220.2 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.4196, allocations: 7.953 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.4196, allocations: 4 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/0.4197, allocations: 4 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4197, allocations: 7.969 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.4198, allocations: 8 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.4199, allocations: 131.2 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4199, allocations: 0 / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.4202, allocations: 47.83 kB / 0.5688 GB, free: 12.37 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.00279/0.423, allocations: 1.24 MB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.4233, allocations: 63.95 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4233, allocations: 3.938 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.781e-05/0.4233, allocations: 32.05 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.4238, allocations: 27.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.002129/0.4259, allocations: 1.604 MB / 0.5717 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.809e-05/0.426, allocations: 85.31 kB / 0.5717 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.777e-05/0.4261, allocations: 25.27 kB / 0.5718 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.011e-05/0.4262, allocations: 39.42 kB / 0.5718 GB, free: 9.371 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4262, allocations: 0 / 0.5718 GB, free: 9.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.4526, allocations: 4.397 MB / 0.5761 GB, free: 5.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.89, allocations: 16.66 kB / 0.5761 GB, free: 5.016 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.938550989027135] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.109075352898799 12.131313314 11.713146857 Calling exit ...