Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001844/0.001844, 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.002413/0.002413, allocations: 214.1 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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.241/0.241, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.002211/0.002211, allocations: 75.89 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3983, allocations: 65.46 MB / 0.5578 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003274/0.4016, allocations: 1.663 MB / 0.5594 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.4034, allocations: 0.9481 MB / 0.5603 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.4034, allocations: 7.938 kB / 0.5603 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.4037, allocations: 59.78 kB / 0.5604 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.4041, allocations: 111.5 kB / 0.5605 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.4043, allocations: 75.73 kB / 0.5606 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.4044, allocations: 107.7 kB / 0.5607 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.4045, allocations: 240 / 0.5607 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.71e-05/0.4046, allocations: 47.78 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.4047, allocations: 51.77 kB / 0.5608 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.4047, allocations: 4 kB / 0.5608 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.645e-05/0.4048, allocations: 35.98 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.4049, allocations: 23.86 kB / 0.5608 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.4049, allocations: 23.8 kB / 0.5609 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.4051, allocations: 109.4 kB / 0.561 GB, free: 4.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4051, allocations: 0 / 0.561 GB, free: 4.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4051, allocations: 0 / 0.561 GB, free: 4.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4051, allocations: 0 / 0.561 GB, free: 4.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005708/0.4057, allocations: 345.6 kB / 0.5613 GB, free: 3.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4058, allocations: 8.031 kB / 0.5613 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.646e-05/0.4058, allocations: 192 / 0.5613 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.4058, allocations: 38.75 kB / 0.5613 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.4059, allocations: 12.84 kB / 0.5613 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.4061, allocations: 143 kB / 0.5615 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4061, allocations: 12.12 kB / 0.5615 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.4062, allocations: 7.984 kB / 0.5615 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4063, allocations: 49.67 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4063, allocations: 0 / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4063, allocations: 0 / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4063, allocations: 0 / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.4064, allocations: 15.98 kB / 0.5616 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.4066, allocations: 152.7 kB / 0.5617 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.4068, allocations: 62.48 kB / 0.5618 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.4069, allocations: 20.84 kB / 0.5618 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4069, allocations: 7.938 kB / 0.5618 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.4071, allocations: 63.39 kB / 0.5619 GB, free: 3.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4071, allocations: 0 / 0.5619 GB, free: 3.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003106/0.4074, allocations: 97.56 kB / 0.562 GB, free: 3.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4074, allocations: 59.39 kB / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4077, allocations: 206.2 kB / 0.5622 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4077, allocations: 25.7 kB / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.4077, allocations: 104.1 kB / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.4078, allocations: 23.83 kB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.4078, allocations: 17.72 kB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.408, allocations: 322.8 kB / 0.5627 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.408, allocations: 15.98 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.4081, allocations: 29.7 kB / 0.5627 GB, free: 2.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.4083, allocations: 49.59 kB / 0.5628 GB, free: 2.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4083, allocations: 7.984 kB / 0.5628 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.4085, allocations: 81.59 kB / 0.5629 GB, free: 2.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4085, allocations: 8 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4085, allocations: 0 / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4085, allocations: 0 / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.4086, allocations: 15.92 kB / 0.5629 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.4086, allocations: 4 kB / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.4087, allocations: 0 / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.4087, allocations: 4.312 kB / 0.5629 GB, free: 2.094 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 (7): * Single equations (assignments): 7 * 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.0001247/0.4088, allocations: 128.7 kB / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.4088, allocations: 11.98 kB / 0.563 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.4091, allocations: 98.77 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4091, allocations: 3.938 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4091, allocations: 4 kB / 0.5631 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4091, allocations: 0 / 0.5631 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.4093, allocations: 160.6 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4093, allocations: 0 / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.4093, allocations: 4 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4093, allocations: 0 / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4093, allocations: 4 kB / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4093, allocations: 4 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4093, allocations: 0 / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.4095, allocations: 125 kB / 0.5634 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.4096, allocations: 15.89 kB / 0.5634 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.4096, allocations: 4 kB / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.4096, allocations: 0 / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.4097, allocations: 11.97 kB / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4097, allocations: 0 / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.4098, allocations: 156.2 kB / 0.5636 GB, free: 1.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4098, allocations: 0 / 0.5636 GB, free: 1.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.41, allocations: 19.94 kB / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002126/0.4122, allocations: 0.9825 MB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.4124, allocations: 43.91 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4124, allocations: 4 kB / 0.5646 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/0.4124, allocations: 16 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4127, allocations: 40.11 kB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.4147, allocations: 1.53 MB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.387e-05/0.4148, allocations: 89.25 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.4148, allocations: 12.73 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.4149, allocations: 31.44 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4149, allocations: 0 / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.4389, allocations: 3.505 MB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.8, allocations: 7.344 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.00862302002497] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.01438672596123 12.040440434 11.630511902 Calling exit ...