Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001297/0.001297, 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.001415/0.001415, allocations: 212.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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2382/0.2382, allocations: 46.96 MB / 361.7 MB, free: 4.043 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3814, allocations: 66.04 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003561/0.3849, allocations: 1.78 MB / 0.5632 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3869, allocations: 1.038 MB / 0.5642 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.3871, allocations: 7.938 kB / 0.5642 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007051/0.3878, allocations: 315.2 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.3883, allocations: 251.2 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.3886, allocations: 111.6 kB / 0.5648 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.389, allocations: 267.2 kB / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.457e-05/0.3891, allocations: 5.812 kB / 0.5651 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.3893, allocations: 139.5 kB / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.3896, allocations: 215.5 kB / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.3896, allocations: 8 kB / 0.5654 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3897, allocations: 43.98 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.3899, allocations: 151.5 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.39, allocations: 107.1 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.3905, allocations: 384 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.3905, allocations: 7.984 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3905, allocations: 0 / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3905, allocations: 0 / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001024/0.3915, allocations: 0.6863 MB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3916, allocations: 12.03 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.032e-05/0.3916, allocations: 4.125 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.3916, allocations: 30.75 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.3917, allocations: 64.61 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.3924, allocations: 390.5 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3924, allocations: 8.125 kB / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3924, allocations: 0 / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3926, allocations: 99.28 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3927, allocations: 0 / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3927, allocations: 0 / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.3927, allocations: 4 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3928, allocations: 31.97 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.3933, allocations: 341.4 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.3936, allocations: 113.1 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.625e-05/0.3937, allocations: 37.7 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3938, allocations: 0 / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.394, allocations: 113 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.394, allocations: 0 / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005144/0.3945, allocations: 209.2 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.3946, allocations: 85.05 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.3959, allocations: 1.062 MB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.396, allocations: 25.7 kB / 0.5693 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.3962, allocations: 240.1 kB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.3962, allocations: 31.8 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.3963, allocations: 29.7 kB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.3965, allocations: 366.8 kB / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.3966, allocations: 31.98 kB / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3967, allocations: 67.41 kB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3969, allocations: 95.28 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3969, allocations: 0.5 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003339/0.3972, allocations: 189.2 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3973, allocations: 4 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3973, allocations: 0 / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3973, allocations: 4 kB / 0.5703 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.3974, allocations: 24.05 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3974, allocations: 7.938 kB / 0.5703 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3975, allocations: 7.938 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3975, allocations: 8 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002553/0.3978, allocations: 225.6 kB / 0.5706 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.3979, allocations: 55.62 kB / 0.5706 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.3983, allocations: 201.8 kB / 0.5708 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3983, allocations: 0 / 0.5708 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3983, allocations: 0 / 0.5708 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3983, allocations: 11.98 kB / 0.5708 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.3987, allocations: 292.5 kB / 0.5711 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3987, allocations: 0 / 0.5711 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.3987, allocations: 12 kB / 0.5711 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3988, allocations: 0 / 0.5711 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3988, allocations: 4 kB / 0.5711 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3988, allocations: 0 / 0.5711 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3988, allocations: 3.984 kB / 0.5711 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.3992, allocations: 221.5 kB / 0.5713 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.3993, allocations: 75.78 kB / 0.5714 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.3993, allocations: 4 kB / 0.5714 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.3994, allocations: 11.98 kB / 0.5714 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.3995, allocations: 11.98 kB / 0.5714 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.3995, allocations: 4 kB / 0.5714 GB, free: 9.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009281/0.4004, allocations: 0.7956 MB / 0.5722 GB, free: 8.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4004, allocations: 0 / 0.5722 GB, free: 8.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.4007, allocations: 40 kB / 0.5722 GB, free: 8.77 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002279/0.403, allocations: 1.107 MB / 0.5733 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.4033, allocations: 88.02 kB / 0.5734 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4033, allocations: 0 / 0.5734 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4034, allocations: 44.17 kB / 0.5735 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.4038, allocations: 70.09 kB / 0.5735 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/0.41, allocations: 4.594 MB / 0.578 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.4103, allocations: 245.7 kB / 0.5782 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.4104, allocations: 54.95 kB / 0.5783 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.4106, allocations: 155.4 kB / 0.5784 GB, free: 2.453 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4106, allocations: 0 / 0.5784 GB, free: 2.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.4426, allocations: 9.652 MB / 0.5879 GB, free: 8.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.54, allocations: 9.75 kB / 0.5879 GB, free: 8.922 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.581107395933941] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.765117003000341 12.793118363 12.397351225 Calling exit ...