Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001314/0.001314, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.0015/0.0015, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.2248/0.2248, allocations: 44.94 MB / 359.6 MB, free: 6.059 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.002058/0.002058, allocations: 67.89 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 65.47 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003772/0.3938, allocations: 1.729 MB / 0.5595 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.3957, allocations: 0.9861 MB / 0.5605 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.3958, allocations: 0 / 0.5605 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.3962, allocations: 103.7 kB / 0.5606 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.3966, allocations: 135.5 kB / 0.5607 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3968, allocations: 83.66 kB / 0.5608 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.397, allocations: 131.7 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3972, allocations: 19.41 kB / 0.5609 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3973, allocations: 63.7 kB / 0.561 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3974, allocations: 87.66 kB / 0.561 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3974, allocations: 4 kB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3976, allocations: 63.97 kB / 0.5611 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-05/0.3976, allocations: 35.92 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.3977, allocations: 47.66 kB / 0.5612 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.398, allocations: 163.3 kB / 0.5613 GB, free: 3.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.398, allocations: 0 / 0.5613 GB, free: 3.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.398, allocations: 0 / 0.5613 GB, free: 3.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.398, allocations: 3.938 kB / 0.5614 GB, free: 3.852 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006187/0.3986, allocations: 393.2 kB / 0.5617 GB, free: 3.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3987, allocations: 8.031 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.515e-05/0.3987, allocations: 192 / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.3987, allocations: 38.75 kB / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.3988, allocations: 20.84 kB / 0.5618 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.3991, allocations: 167.2 kB / 0.562 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3992, allocations: 8.125 kB / 0.562 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.3992, allocations: 4 kB / 0.562 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3994, allocations: 81.53 kB / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3994, allocations: 7.938 kB / 0.562 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3994, allocations: 4 kB / 0.5621 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3994, allocations: 0 / 0.5621 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3996, allocations: 43.95 kB / 0.5621 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.4001, allocations: 295.8 kB / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.4004, allocations: 82.48 kB / 0.5625 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.4005, allocations: 24.84 kB / 0.5625 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.4005, allocations: 4 kB / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.4007, allocations: 83.31 kB / 0.5626 GB, free: 2.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4007, allocations: 0 / 0.5626 GB, free: 2.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009425/0.4016, allocations: 317 kB / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4017, allocations: 51.41 kB / 0.5629 GB, free: 2.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.402, allocations: 271.7 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.402, allocations: 29.7 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.4021, allocations: 120.1 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.4021, allocations: 47.58 kB / 0.5634 GB, free: 1.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.4022, allocations: 29.7 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4023, allocations: 330.8 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.4024, allocations: 47.91 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.4025, allocations: 53.7 kB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.4027, allocations: 106.3 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.4027, allocations: 4 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002878/0.403, allocations: 168.7 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.403, allocations: 6.656 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4031, allocations: 7.938 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4031, allocations: 0 / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.4032, allocations: 24.83 kB / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4032, allocations: 4 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.4032, allocations: 4 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4032, allocations: 7.984 kB / 0.5641 GB, free: 0.8086 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 (16): * Single equations (assignments): 16 * 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.00014/0.4034, allocations: 145.8 kB / 0.5643 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.4034, allocations: 19.86 kB / 0.5643 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.4038, allocations: 211 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4038, allocations: 4 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4038, allocations: 0 / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4038, allocations: 7.875 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.4045, allocations: 483.2 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4046, allocations: 3.984 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.4046, allocations: 24 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4046, allocations: 12 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4046, allocations: 4 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.4046, allocations: 7.984 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4047, allocations: 0 / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.405, allocations: 276 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.405, allocations: 19.86 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.4051, allocations: 4 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.4052, allocations: 7.984 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.4052, allocations: 19.92 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.4052, allocations: 7.938 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.4054, allocations: 205.5 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0 / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.4057, allocations: 31.94 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002707/0.4084, allocations: 1.25 MB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.4087, allocations: 103.8 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4087, allocations: 0 / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.4088, allocations: 59.97 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.4092, allocations: 42.98 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.4119, allocations: 2.027 MB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.4121, allocations: 115.4 kB / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.47e-05/0.4121, allocations: 29.53 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.4122, allocations: 55.41 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4122, allocations: 3.938 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.4379, allocations: 4.794 MB / 0.5738 GB, free: 6.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.89, allocations: 4 kB / 0.5738 GB, free: 6.961 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.975856050034054] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 12.116249151993543 12.133070299 11.731824247 Calling exit ...