Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.95 MB / 361.6 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 76.08 kB / 0.497 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3418, allocations: 66.09 MB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003377/0.3452, allocations: 1.792 MB / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3471, allocations: 1.034 MB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-05/0.3472, allocations: 4 kB / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.3477, allocations: 311.3 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005354/0.3483, allocations: 255.2 kB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3485, allocations: 111.6 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.3489, allocations: 267.3 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.3489, allocations: 13.8 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3491, allocations: 135.5 kB / 0.5653 GB, free: 108 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.3493, allocations: 219.4 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.3494, allocations: 8 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3495, allocations: 39.98 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.3496, allocations: 143.6 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3498, allocations: 111 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.3502, allocations: 396 kB / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3502, allocations: 0 / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3502, allocations: 4 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3502, allocations: 0 / 0.5662 GB, free: 15.2 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.0009736/0.3512, allocations: 0.6864 MB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3512, allocations: 12.03 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.193e-05/0.3513, allocations: 192 / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.3513, allocations: 34.69 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.3514, allocations: 52.61 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.352, allocations: 398.5 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.352, allocations: 8.312 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.352, allocations: 384 / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3523, allocations: 95.3 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3523, allocations: 4 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3523, allocations: 0 / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3523, allocations: 0 / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.3524, allocations: 39.91 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.3528, allocations: 337.4 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.3531, allocations: 105.2 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.3532, allocations: 37.7 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.3532, allocations: 7.938 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.3534, allocations: 109 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3534, allocations: 0 / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005577/0.354, allocations: 205.3 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.3541, allocations: 85.05 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.3553, allocations: 1.062 MB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3553, allocations: 25.7 kB / 0.5694 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.3555, allocations: 240.1 kB / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.3556, allocations: 31.8 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.3556, allocations: 29.7 kB / 0.5697 GB, free: 11.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.3558, allocations: 370.8 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.3559, allocations: 27.98 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.356, allocations: 63.91 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3562, allocations: 95.34 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3562, allocations: 0 / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003487/0.3566, allocations: 193.1 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3566, allocations: 4 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3566, allocations: 0 / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3566, allocations: 4 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3568, allocations: 23.92 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3568, allocations: 0 / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/0.3569, allocations: 11.94 kB / 0.5704 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3569, allocations: 4 kB / 0.5704 GB, free: 10.6 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.0002281/0.3571, allocations: 224 kB / 0.5706 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/0.3572, allocations: 59.62 kB / 0.5707 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.3576, allocations: 205.8 kB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3576, allocations: 3.938 kB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.3576, allocations: 3.984 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3576, allocations: 4 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.3579, allocations: 296.7 kB / 0.5712 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3579, allocations: 4 kB / 0.5712 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.358, allocations: 8 kB / 0.5712 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.358, allocations: 0 / 0.5712 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.358, allocations: 11.98 kB / 0.5712 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.358, allocations: 7.984 kB / 0.5712 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.358, allocations: 0 / 0.5712 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.3583, allocations: 217.5 kB / 0.5714 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.3585, allocations: 67.59 kB / 0.5715 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.3585, allocations: 11.92 kB / 0.5715 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.3586, allocations: 4 kB / 0.5715 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.3586, allocations: 11.98 kB / 0.5715 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3587, allocations: 4 kB / 0.5715 GB, free: 9.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009119/0.3596, allocations: 0.7956 MB / 0.5723 GB, free: 8.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3596, allocations: 3.938 kB / 0.5723 GB, free: 8.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3598, allocations: 44 kB / 0.5723 GB, free: 8.555 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.002163/0.362, allocations: 1.093 MB / 0.5734 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3623, allocations: 87.89 kB / 0.5735 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3623, allocations: 0 / 0.5735 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.3624, allocations: 39.98 kB / 0.5735 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.3628, allocations: 75.89 kB / 0.5736 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.3688, allocations: 4.59 MB / 0.5781 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3691, allocations: 245.7 kB / 0.5783 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.3692, allocations: 59.45 kB / 0.5784 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.3694, allocations: 155.4 kB / 0.5785 GB, free: 2.211 MB / 414.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3694, allocations: 3.938 kB / 0.5785 GB, free: 2.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.402, allocations: 9.664 MB / 0.588 GB, free: 8.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 14.34 kB / 0.588 GB, free: 8.609 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.592138149077073] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 11.938330846023746 11.953418234 11.600304503 Calling exit ...