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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 97.89 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3324/0.3324, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 75.86 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3233, allocations: 62.02 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003248/0.3266, allocations: 2.091 MB / 0.5172 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3281, allocations: 1.121 MB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3282, allocations: 2.938 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.3285, allocations: 44.92 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.3288, allocations: 95.42 kB / 0.5184 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3291, allocations: 124.2 kB / 0.5186 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3293, allocations: 196.5 kB / 0.5187 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3294, allocations: 32.03 kB / 0.5188 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3295, allocations: 80.38 kB / 0.5189 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.3296, allocations: 74.97 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3296, allocations: 3.938 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.936e-05/0.3297, allocations: 42.72 kB / 0.519 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.3298, allocations: 36.19 kB / 0.519 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.3299, allocations: 75.41 kB / 0.5191 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3301, allocations: 192 kB / 0.5193 GB, free: 35.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3301, allocations: 0 / 0.5193 GB, free: 35.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.3301, allocations: 0 / 0.5193 GB, free: 35.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3301, allocations: 0 / 0.5193 GB, free: 35.1 MB / 378.7 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.0007613/0.3309, allocations: 0.5616 MB / 0.5198 GB, free: 34.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3309, allocations: 8.156 kB / 0.5198 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.331, allocations: 23.62 kB / 0.5198 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.3312, allocations: 251.1 kB / 0.5201 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3312, allocations: 3.344 kB / 0.5201 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3313, allocations: 14 kB / 0.5201 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.3316, allocations: 154.7 kB / 0.5202 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3317, allocations: 0 / 0.5202 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3317, allocations: 6.906 kB / 0.5202 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3317, allocations: 2.875 kB / 0.5202 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.3321, allocations: 118.8 kB / 0.5204 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.3327, allocations: 0.5484 MB / 0.5209 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.3333, allocations: 158.3 kB / 0.521 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3335, allocations: 78.28 kB / 0.5211 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3336, allocations: 3.938 kB / 0.5211 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/0.334, allocations: 132.5 kB / 0.5213 GB, free: 33.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.334, allocations: 0 / 0.5213 GB, free: 33.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007706/0.3347, allocations: 263 kB / 0.5215 GB, free: 33.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.3348, allocations: 62.12 kB / 0.5216 GB, free: 33.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3349, allocations: 227.1 kB / 0.5218 GB, free: 33.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.335, allocations: 28.64 kB / 0.5218 GB, free: 33.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.335, allocations: 131.6 kB / 0.5219 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.3351, allocations: 36.78 kB / 0.522 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.3351, allocations: 40.81 kB / 0.522 GB, free: 33.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.3352, allocations: 331.4 kB / 0.5223 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.3354, allocations: 65.81 kB / 0.5224 GB, free: 32.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.3357, allocations: 106 kB / 0.5225 GB, free: 32.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.3361, allocations: 189.2 kB / 0.5227 GB, free: 32.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3361, allocations: 0 / 0.5227 GB, free: 32.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005685/0.3367, allocations: 249.6 kB / 0.5229 GB, free: 32.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.3368, allocations: 41.48 kB / 0.5229 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3368, allocations: 0 / 0.5229 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3368, allocations: 2.875 kB / 0.5229 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.337, allocations: 40.28 kB / 0.523 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.337, allocations: 10.28 kB / 0.523 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.3371, allocations: 25.92 kB / 0.523 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3372, allocations: 9.781 kB / 0.523 GB, free: 32.38 MB / 378.7 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 8.186e-05/0.3372, allocations: 130.6 kB / 0.5232 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3373, allocations: 19.88 kB / 0.5232 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.3373, allocations: 19.41 kB / 0.5232 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3373, allocations: 10.23 kB / 0.5232 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3373, allocations: 4 kB / 0.5232 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3374, allocations: 0 / 0.5232 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3375, allocations: 234.9 kB / 0.5234 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3375, allocations: 0 / 0.5234 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.3376, allocations: 33.28 kB / 0.5235 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3377, allocations: 3.375 kB / 0.5235 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3377, allocations: 7.938 kB / 0.5235 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3377, allocations: 7.875 kB / 0.5235 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3377, allocations: 0 / 0.5235 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.3416, allocations: 2.065 MB / 0.5255 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.3416, allocations: 102.5 kB / 0.5256 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3417, allocations: 6.375 kB / 0.5256 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3418, allocations: 17.66 kB / 0.5256 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.3419, allocations: 18.5 kB / 0.5256 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3419, allocations: 5.75 kB / 0.5256 GB, free: 30.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.342, allocations: 173.9 kB / 0.5258 GB, free: 30.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.342, allocations: 0 / 0.5258 GB, free: 30.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003242/0.3424, allocations: 50.89 kB / 0.5259 GB, free: 30.39 MB / 378.7 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0007799/0.3431, allocations: 412.8 kB / 0.5262 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.3437, allocations: 210 kB / 0.5264 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3437, allocations: 0 / 0.5264 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.344, allocations: 81 kB / 0.5265 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.3443, allocations: 50.14 kB / 0.5266 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.3449, allocations: 0.5011 MB / 0.5271 GB, free: 29.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.3451, allocations: 0.7294 MB / 0.5278 GB, free: 28.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.04e-05/0.3452, allocations: 22.02 kB / 0.5278 GB, free: 28.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.3452, allocations: 22.81 kB / 0.5278 GB, free: 28.95 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3452, allocations: 4 kB / 0.5278 GB, free: 28.94 MB / 378.7 MB Notification: Performance of Templates: time 0.005043/0.3503, allocations: 3.028 MB / 0.5308 GB, free: 28.67 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (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)