Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001346/0.001346, 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.001647/0.001647, allocations: 211.8 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.498/1.498, 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.2368/0.2368, allocations: 46.97 MB / 361.7 MB, free: 4.031 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 0.4969 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3477, allocations: 66.03 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003394/0.351, allocations: 1.802 MB / 0.5632 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.3532, allocations: 1.034 MB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3533, allocations: 0 / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.354, allocations: 311.3 kB / 0.5645 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.3546, allocations: 259.1 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3549, allocations: 115.6 kB / 0.5648 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.3553, allocations: 267.2 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.3553, allocations: 9.797 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.3555, allocations: 127.6 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.3558, allocations: 223.4 kB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.3558, allocations: 4 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.356, allocations: 47.98 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.3562, allocations: 147.5 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3563, allocations: 103.1 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.3568, allocations: 392 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3568, allocations: 4 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3568, allocations: 0 / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3568, allocations: 0 / 0.5661 GB, free: 15.4 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.0009728/0.3578, allocations: 0.6902 MB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3578, allocations: 8.031 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.487e-05/0.3578, allocations: 4.188 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.3578, allocations: 30.75 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.3579, allocations: 52.61 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.3586, allocations: 398.5 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3586, allocations: 8.125 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3586, allocations: 4 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.359, allocations: 91.36 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.359, allocations: 3.938 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.359, allocations: 0 / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.359, allocations: 0 / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3591, allocations: 35.97 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.3596, allocations: 337.4 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.3599, allocations: 117.1 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.36, allocations: 33.7 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.36, allocations: 4 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.3603, allocations: 113 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3603, allocations: 0 / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005354/0.3608, allocations: 205.6 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.3609, allocations: 81.11 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.3621, allocations: 1.065 MB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3621, allocations: 29.64 kB / 0.5693 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.3623, allocations: 240.1 kB / 0.5695 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.3624, allocations: 31.8 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.3624, allocations: 25.7 kB / 0.5696 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.3626, allocations: 370.8 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.3627, allocations: 36.09 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3629, allocations: 66.92 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.3631, allocations: 99.28 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3631, allocations: 0 / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003392/0.3634, allocations: 181.2 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3634, allocations: 8 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3634, allocations: 0 / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.3635, allocations: 4 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.3636, allocations: 19.98 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3636, allocations: 0 / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.3637, allocations: 7.938 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3637, allocations: 16.06 kB / 0.5703 GB, free: 10.77 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.0002369/0.3639, allocations: 225.6 kB / 0.5706 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.364, allocations: 55.56 kB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.3645, allocations: 206 kB / 0.5708 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3645, allocations: 64 / 0.5708 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3645, allocations: 7.984 kB / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3645, allocations: 0 / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.3648, allocations: 296.5 kB / 0.5711 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3648, allocations: 0 / 0.5711 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.3649, allocations: 16 kB / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.3649, allocations: 0 / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3649, allocations: 7.984 kB / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3649, allocations: 0 / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3649, allocations: 3.984 kB / 0.5711 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.3653, allocations: 225.4 kB / 0.5713 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3654, allocations: 71.59 kB / 0.5714 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.3654, allocations: 3.984 kB / 0.5714 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.3655, allocations: 4 kB / 0.5714 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.3656, allocations: 11.98 kB / 0.5714 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3656, allocations: 11.94 kB / 0.5714 GB, free: 9.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009505/0.3666, allocations: 0.7917 MB / 0.5722 GB, free: 8.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3666, allocations: 0 / 0.5722 GB, free: 8.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.3669, allocations: 44 kB / 0.5723 GB, free: 8.734 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.002272/0.3691, allocations: 1.097 MB / 0.5733 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.3694, allocations: 87.89 kB / 0.5734 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3694, allocations: 128 / 0.5734 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3695, allocations: 43.92 kB / 0.5735 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.37, allocations: 74.64 kB / 0.5735 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/0.376, allocations: 4.59 MB / 0.578 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.3763, allocations: 249.7 kB / 0.5782 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.3764, allocations: 59.45 kB / 0.5783 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.3766, allocations: 155.4 kB / 0.5785 GB, free: 2.414 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3766, allocations: 0 / 0.5785 GB, free: 2.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.4085, allocations: 9.653 MB / 0.5879 GB, free: 8.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.53, allocations: 4.062 kB / 0.5879 GB, free: 8.883 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.576664378051646] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.750283655943349 12.765773791 12.40575905 Calling exit ...