Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001481/0.001481, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00169/0.00169, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.27 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.2264/0.2264, allocations: 46.89 MB / 361.3 MB, free: 4.48 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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 79.86 kB / 0.4971 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4057, allocations: 66.02 MB / 0.5615 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003666/0.4093, allocations: 1.878 MB / 0.5634 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.4112, allocations: 1.068 MB / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.4112, allocations: 0 / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.4115, allocations: 67.66 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.4118, allocations: 123.4 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.4123, allocations: 206.9 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.4126, allocations: 203.4 kB / 0.565 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.4127, allocations: 21.39 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.4128, allocations: 95.61 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.413, allocations: 107.6 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.413, allocations: 16 kB / 0.5652 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.4131, allocations: 36 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.4132, allocations: 47.77 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.4133, allocations: 75.58 kB / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.4136, allocations: 186.1 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4136, allocations: 0 / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4136, allocations: 0 / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.4136, allocations: 0 / 0.5656 GB, free: 0.5391 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001143/0.4147, allocations: 0.5119 MB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4148, allocations: 8.031 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.4148, allocations: 20.84 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.4151, allocations: 182.1 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4151, allocations: 384 / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.4152, allocations: 16.38 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.4157, allocations: 142.1 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4157, allocations: 7.938 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4157, allocations: 0 / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.4157, allocations: 0 / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.4165, allocations: 171.7 kB / 0.5666 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008318/0.4173, allocations: 399.6 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/0.4181, allocations: 198.4 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.4185, allocations: 84.77 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4185, allocations: 4 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005524/0.4191, allocations: 171.2 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.4191, allocations: 0 / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00377/0.4229, allocations: 0.8432 MB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.4229, allocations: 55.62 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.4232, allocations: 246.2 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.4232, allocations: 29.7 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.4233, allocations: 128 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.4234, allocations: 39.95 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.4235, allocations: 37.64 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4236, allocations: 334.8 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000763/0.4244, allocations: 175.8 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.4251, allocations: 177.8 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.4266, allocations: 375.9 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4266, allocations: 0 / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001635/0.4282, allocations: 470.7 kB / 0.5702 GB, free: 11.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.4283, allocations: 67.33 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4283, allocations: 0 / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4283, allocations: 3.984 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.4287, allocations: 71.91 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4287, allocations: 0 / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.4292, allocations: 67.84 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.4292, allocations: 15.92 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001493/0.4293, allocations: 134.9 kB / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.4294, allocations: 15.91 kB / 0.5706 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.431, allocations: 422.6 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.431, allocations: 0 / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.431, allocations: 4 kB / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.431, allocations: 0 / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.433, allocations: 0.7001 MB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.433, allocations: 0 / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.4334, allocations: 67.91 kB / 0.5717 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4334, allocations: 0 / 0.5717 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.4334, allocations: 7.984 kB / 0.5717 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.4334, allocations: 7.938 kB / 0.5717 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4334, allocations: 4 kB / 0.5717 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.435, allocations: 483.1 kB / 0.5722 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.4351, allocations: 19.86 kB / 0.5722 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.4351, allocations: 7.984 kB / 0.5722 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.4356, allocations: 67.84 kB / 0.5723 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.4357, allocations: 51.86 kB / 0.5723 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.4357, allocations: 4 kB / 0.5723 GB, free: 9.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.4359, allocations: 188.4 kB / 0.5725 GB, free: 9.086 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4359, allocations: 0 / 0.5725 GB, free: 9.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.4362, allocations: 44 kB / 0.5726 GB, free: 9.043 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001511/0.4378, allocations: 407.1 kB / 0.5729 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.4396, allocations: 482.3 kB / 0.5734 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4396, allocations: 0 / 0.5734 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.4404, allocations: 175.8 kB / 0.5736 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.4407, allocations: 36.64 kB / 0.5736 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4418, allocations: 374.8 kB / 0.574 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.4423, allocations: 0.7318 MB / 0.5747 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.4424, allocations: 33.39 kB / 0.5747 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.4425, allocations: 23.42 kB / 0.5747 GB, free: 6.871 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4425, allocations: 4 kB / 0.5747 GB, free: 6.867 MB / 414.1 MB Notification: Performance of Templates: time 0.007934/0.4504, allocations: 3.695 MB / 0.5783 GB, free: 3.188 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.076292819343507] Failed to read output from testmodel.py, exit status != 0: 0.45913682505488396 0.473470981 0.056897867000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f84913a57b0>