Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.00177/0.00177, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002214/0.002214, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.581/1.581, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2615/0.2615, allocations: 46.94 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003082/0.003082, allocations: 79.88 kB / 0.4967 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4096, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00407/0.4137, allocations: 1.986 MB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.4158, allocations: 1.064 MB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.4159, allocations: 3.938 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.4163, allocations: 51.69 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.4168, allocations: 107.4 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.4171, allocations: 119.6 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.4174, allocations: 203.3 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.4176, allocations: 24.47 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.4177, allocations: 79.7 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.4179, allocations: 79.59 kB / 0.5648 GB, free: 244 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.4179, allocations: 12 kB / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.418, allocations: 59.92 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.4181, allocations: 35.84 kB / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.4182, allocations: 59.66 kB / 0.565 GB, free: 76 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.4186, allocations: 198.8 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4186, allocations: 4 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4186, allocations: 0 / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4186, allocations: 0 / 0.5652 GB, free: 15.88 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001005/0.4196, allocations: 0.5004 MB / 0.5657 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4196, allocations: 8.031 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.4197, allocations: 20.84 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.4201, allocations: 190 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4201, allocations: 4.375 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.4202, allocations: 12.38 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.4206, allocations: 180.4 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4206, allocations: 0 / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4206, allocations: 4 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4207, allocations: 0 / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.4211, allocations: 115.8 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.4218, allocations: 488.5 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.4225, allocations: 154.6 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4228, allocations: 72.78 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.4228, allocations: 0 / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/0.4232, allocations: 164.9 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.4232, allocations: 0 / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009444/0.4241, allocations: 261.3 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.4242, allocations: 55.41 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.4245, allocations: 242.2 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.4245, allocations: 29.64 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4247, allocations: 132.4 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.4247, allocations: 39.69 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.4248, allocations: 37.7 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.425, allocations: 334.8 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.4253, allocations: 101.6 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.4256, allocations: 136.7 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.4261, allocations: 193.8 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.4261, allocations: 4 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000687/0.4268, allocations: 284.7 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.4268, allocations: 37.7 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4268, allocations: 128 / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.4269, allocations: 4 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.4271, allocations: 39.95 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4271, allocations: 0 / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.4272, allocations: 31.92 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.4273, allocations: 7.938 kB / 0.5689 GB, free: 11.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002516/0.4275, allocations: 141.7 kB / 0.5691 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.4276, allocations: 19.84 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.4282, allocations: 222.9 kB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4282, allocations: 0 / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4282, allocations: 0 / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4282, allocations: 7.922 kB / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.4285, allocations: 173.1 kB / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.4285, allocations: 4 kB / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.4286, allocations: 23.98 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4286, allocations: 0 / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.4287, allocations: 11.98 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4287, allocations: 0 / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4287, allocations: 0 / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.4296, allocations: 316.2 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.4296, allocations: 15.89 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.4297, allocations: 11.98 kB / 0.5698 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.4299, allocations: 19.97 kB / 0.5698 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.4299, allocations: 19.91 kB / 0.5699 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.43, allocations: 4 kB / 0.5699 GB, free: 10.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.4302, allocations: 180.5 kB / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4302, allocations: 0 / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.4305, allocations: 35.94 kB / 0.5701 GB, free: 10.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001839/0.4323, allocations: 437.6 kB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007018/0.433, allocations: 248.9 kB / 0.5707 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.433, allocations: 0 / 0.5707 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.4333, allocations: 87.98 kB / 0.5708 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.4336, allocations: 36.64 kB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008753/0.4345, allocations: 323.8 kB / 0.5712 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.4347, allocations: 116.1 kB / 0.5713 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.4348, allocations: 29.44 kB / 0.5713 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.4348, allocations: 15.44 kB / 0.5713 GB, free: 9.344 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4348, allocations: 0 / 0.5713 GB, free: 9.344 MB / 414.1 MB Notification: Performance of Templates: time 0.008285/0.4431, allocations: 3.194 MB / 0.5744 GB, free: 6.184 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.482880124822259] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.4537024740129709 0.471728845 0.049383516 Calling exit ...