Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 226.5 MB / 243.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007573/0.0007573, allocations: 92.44 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3227/0.3227, allocations: 44.81 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002907, allocations: 12 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3713, allocations: 62.95 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00229/0.3736, allocations: 1.704 MB / 0.5175 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3754, allocations: 1.038 MB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.3757, allocations: 2.938 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.3761, allocations: 42.47 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.3766, allocations: 85.08 kB / 0.5187 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.3772, allocations: 126.9 kB / 0.5188 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.3775, allocations: 173.5 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.3777, allocations: 36.08 kB / 0.519 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.378, allocations: 74.89 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.3782, allocations: 68.78 kB / 0.5191 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3782, allocations: 9.812 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.3784, allocations: 43.5 kB / 0.5192 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.3785, allocations: 27.19 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3786, allocations: 87.41 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.3789, allocations: 142.3 kB / 0.5194 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.3789, allocations: 3.422 kB / 0.5194 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3789, allocations: 0 / 0.5194 GB, free: 34.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3789, allocations: 0 / 0.5194 GB, free: 34.84 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.001037/0.38, allocations: 0.5436 MB / 0.52 GB, free: 34.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.38, allocations: 13.31 kB / 0.52 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.3801, allocations: 20 kB / 0.52 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.3804, allocations: 246.2 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.3804, allocations: 3.312 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.3805, allocations: 21.34 kB / 0.5203 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.3809, allocations: 156.3 kB / 0.5204 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3809, allocations: 4 kB / 0.5204 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.381, allocations: 2.938 kB / 0.5204 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.381, allocations: 6.531 kB / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.3815, allocations: 138.5 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.3821, allocations: 0.5498 MB / 0.5211 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.3827, allocations: 180.1 kB / 0.5213 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.383, allocations: 90.27 kB / 0.5213 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.383, allocations: 0 / 0.5213 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.3834, allocations: 151 kB / 0.5215 GB, free: 33.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.3834, allocations: 6.938 kB / 0.5215 GB, free: 33.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008037/0.3842, allocations: 297.2 kB / 0.5218 GB, free: 33.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3843, allocations: 58.31 kB / 0.5218 GB, free: 33.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3845, allocations: 227.6 kB / 0.5221 GB, free: 33.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3845, allocations: 32.83 kB / 0.5221 GB, free: 32.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.3846, allocations: 127.9 kB / 0.5222 GB, free: 32.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3846, allocations: 40.75 kB / 0.5222 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.3847, allocations: 0 / 0.5222 GB, free: 32.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.3847, allocations: 331.4 kB / 0.5226 GB, free: 32.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.385, allocations: 81.78 kB / 0.5226 GB, free: 32.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.3852, allocations: 113.7 kB / 0.5227 GB, free: 32.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.3857, allocations: 220.7 kB / 0.523 GB, free: 32.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3857, allocations: 0 / 0.523 GB, free: 32.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006368/0.3864, allocations: 277 kB / 0.5232 GB, free: 32.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.3864, allocations: 31.42 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3864, allocations: 3.375 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3865, allocations: 2.938 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3866, allocations: 49.45 kB / 0.5233 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3867, allocations: 6.812 kB / 0.5233 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.3869, allocations: 34.52 kB / 0.5233 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.3869, allocations: 15.03 kB / 0.5234 GB, free: 32.12 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.387, allocations: 140.8 kB / 0.5235 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.387, allocations: 15.72 kB / 0.5235 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.3871, allocations: 21.83 kB / 0.5235 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3871, allocations: 6.562 kB / 0.5235 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3871, allocations: 0 / 0.5235 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3871, allocations: 0 / 0.5235 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3873, allocations: 243.5 kB / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3873, allocations: 0 / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.3875, allocations: 37.89 kB / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3875, allocations: 0 / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3875, allocations: 0 / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3875, allocations: 6.938 kB / 0.5238 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3875, allocations: 3.375 kB / 0.5238 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007729/0.3883, allocations: 341 kB / 0.5241 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.3884, allocations: 98.73 kB / 0.5242 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3884, allocations: 10.33 kB / 0.5242 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3886, allocations: 25.8 kB / 0.5243 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.3887, allocations: 23.73 kB / 0.5243 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3887, allocations: 6.266 kB / 0.5243 GB, free: 31.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3888, allocations: 169.4 kB / 0.5245 GB, free: 31.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.3888, allocations: 0 / 0.5245 GB, free: 31.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.3891, allocations: 47.78 kB / 0.5245 GB, free: 31.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000901/0.39, allocations: 397.8 kB / 0.5249 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005806/0.3906, allocations: 247.6 kB / 0.5251 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3906, allocations: 0 / 0.5251 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.3909, allocations: 92.05 kB / 0.5252 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3912, allocations: 41.41 kB / 0.5252 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.3919, allocations: 376.8 kB / 0.5256 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.3921, allocations: 0.7224 MB / 0.5263 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.3921, allocations: 21.83 kB / 0.5263 GB, free: 30.05 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3921, allocations: 4 kB / 0.5263 GB, free: 30.04 MB / 378.7 MB Notification: Performance of Templates: time 0.005478/0.3976, allocations: 2.836 MB / 0.5291 GB, free: 29.76 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)