Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001285/0.001285, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001498/0.001498, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2276/0.2276, allocations: 46.94 MB / 361.7 MB, free: 4.277 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.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003163/0.003163, allocations: 59.89 kB / 0.497 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3528, allocations: 66.03 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003315/0.3561, allocations: 1.846 MB / 0.5633 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.358, allocations: 1.118 MB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.3581, allocations: 7.938 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.3586, allocations: 299.3 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.3591, allocations: 255.2 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.3593, allocations: 111.6 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.3597, allocations: 263.2 kB / 0.5653 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.3597, allocations: 5.812 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.3599, allocations: 139.5 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.3603, allocations: 216 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3603, allocations: 8 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.3604, allocations: 47.98 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.3605, allocations: 132.5 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.3607, allocations: 146.9 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.3612, allocations: 376.2 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3612, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3612, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3612, allocations: 0 / 0.5663 GB, free: 15.5 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.001059/0.3622, allocations: 0.6824 MB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3623, allocations: 8.031 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.559e-05/0.3623, allocations: 4.188 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.3623, allocations: 34.75 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.3624, allocations: 48.61 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.3631, allocations: 394.5 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3631, allocations: 8.125 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3631, allocations: 4 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.3634, allocations: 95.3 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3634, allocations: 4 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3634, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3634, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3635, allocations: 31.97 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.3639, allocations: 345.5 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.3642, allocations: 105.1 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3643, allocations: 37.7 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3643, allocations: 4 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.3646, allocations: 113 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3646, allocations: 0 / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004996/0.3651, allocations: 205.2 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3651, allocations: 77.11 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.3663, allocations: 1.03 MB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3663, allocations: 29.7 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3665, allocations: 232.1 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.3666, allocations: 23.84 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.3666, allocations: 29.7 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.3668, allocations: 366.8 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.3669, allocations: 27.98 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.367, allocations: 63.3 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3672, allocations: 91.28 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3672, allocations: 3.938 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003119/0.3675, allocations: 177.8 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3676, allocations: 7.984 kB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3676, allocations: 4 kB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3676, allocations: 4 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3677, allocations: 16 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3677, allocations: 7.984 kB / 0.5704 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.922e-05/0.3678, allocations: 15.89 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3678, allocations: 4 kB / 0.5705 GB, free: 10.97 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.0002323/0.3681, allocations: 229.7 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.3681, allocations: 55.67 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.3685, allocations: 197.8 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3685, allocations: 0 / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3685, allocations: 4 kB / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3685, allocations: 0 / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.3689, allocations: 316.5 kB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3689, allocations: 0 / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.3689, allocations: 12 kB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3689, allocations: 0 / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3689, allocations: 11.98 kB / 0.5712 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3689, allocations: 4 kB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3689, allocations: 0 / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.3693, allocations: 217.4 kB / 0.5715 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.3694, allocations: 63.59 kB / 0.5715 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.3695, allocations: 4 kB / 0.5715 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.3696, allocations: 19.92 kB / 0.5715 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.3696, allocations: 7.984 kB / 0.5715 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3696, allocations: 4.125 kB / 0.5716 GB, free: 9.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000834/0.3705, allocations: 0.7643 MB / 0.5723 GB, free: 9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3705, allocations: 0 / 0.5723 GB, free: 9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3707, allocations: 43.98 kB / 0.5723 GB, free: 8.957 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.002084/0.3728, allocations: 1.064 MB / 0.5734 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.3731, allocations: 75.91 kB / 0.5734 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3731, allocations: 4 kB / 0.5735 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3732, allocations: 35.92 kB / 0.5735 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.3736, allocations: 91.86 kB / 0.5736 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.3792, allocations: 4.481 MB / 0.578 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.3798, allocations: 0.8425 MB / 0.5788 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.3799, allocations: 62.94 kB / 0.5788 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.3801, allocations: 155.3 kB / 0.579 GB, free: 2.156 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3801, allocations: 0 / 0.579 GB, free: 2.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.4139, allocations: 9.231 MB / 0.588 GB, free: 9.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.21, allocations: 3.984 kB / 0.588 GB, free: 9.016 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.247912404011004] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.431124355993234 12.448681301 12.083599189 Calling exit ...