Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001247/0.001247, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002017/0.002017, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2163/0.2163, allocations: 46.93 MB / 361.6 MB, free: 4.172 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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 79.88 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3581, allocations: 66.08 MB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003098/0.3612, allocations: 1.706 MB / 0.5632 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3629, allocations: 1.021 MB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.363, allocations: 3.938 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.3633, allocations: 59.8 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.3636, allocations: 99.53 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.3638, allocations: 63.75 kB / 0.5644 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.364, allocations: 103.6 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.364, allocations: 16.22 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.3641, allocations: 43.78 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.3642, allocations: 35.8 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3642, allocations: 4 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.3643, allocations: 35.91 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.3644, allocations: 27.92 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.3644, allocations: 35.69 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.3646, allocations: 121.4 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3646, allocations: 0 / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3646, allocations: 0 / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3646, allocations: 0 / 0.5648 GB, free: 0.875 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005719/0.3652, allocations: 381.3 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3653, allocations: 8.031 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.582e-05/0.3653, allocations: 4.188 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.3653, allocations: 34.69 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.3653, allocations: 8.891 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3656, allocations: 163.2 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.3656, allocations: 384 / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3657, allocations: 8.359 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3658, allocations: 45.62 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3658, allocations: 4 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3658, allocations: 0 / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3658, allocations: 4 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.554e-05/0.3659, allocations: 15.98 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.3661, allocations: 164.7 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.3663, allocations: 46.62 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.3663, allocations: 24.84 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3664, allocations: 3.938 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.3665, allocations: 63.39 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3665, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002799/0.3668, allocations: 101.5 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3668, allocations: 51.41 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.3671, allocations: 282.8 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3671, allocations: 25.7 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.3672, allocations: 112.1 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.3672, allocations: 23.77 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.3673, allocations: 17.72 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3674, allocations: 330.8 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.3675, allocations: 12 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/0.3676, allocations: 29.7 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3677, allocations: 53.89 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3677, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001679/0.3678, allocations: 85.53 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3678, allocations: 14.28 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3678, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3679, allocations: 3.938 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.3679, allocations: 11.98 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3679, allocations: 8.031 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.368, allocations: 3.953 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.368, allocations: 4 kB / 0.5669 GB, free: 14.56 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001217/0.3681, allocations: 135.1 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3681, allocations: 15.84 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.3684, allocations: 94.7 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3684, allocations: 3.984 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3684, allocations: 0 / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3684, allocations: 3.984 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3685, allocations: 176.6 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3685, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.3686, allocations: 4 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3686, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3686, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3686, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3686, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3688, allocations: 121 kB / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.3688, allocations: 15.91 kB / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3688, allocations: 3.938 kB / 0.5674 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.3688, allocations: 8.172 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.3689, allocations: 8 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3689, allocations: 4 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.3691, allocations: 200.6 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3691, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3693, allocations: 23.94 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001877/0.3712, allocations: 0.9468 MB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.3714, allocations: 43.92 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3714, allocations: 0 / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.3714, allocations: 19.98 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3717, allocations: 35.97 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.3737, allocations: 1.682 MB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3741, allocations: 0.7157 MB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.764e-05/0.3741, allocations: 12.48 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.3742, allocations: 47.36 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3742, allocations: 0 / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3994, allocations: 3.667 MB / 0.5747 GB, free: 6.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.95, allocations: 14.38 kB / 0.5747 GB, free: 6.547 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.784361961006653] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.165966487955302 11.187679024 10.818789483 Calling exit ...