Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001271, allocations: 110.5 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 191.1 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3332, allocations: 60.82 MB / 0.5196 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002805/0.3361, allocations: 2.009 MB / 0.5216 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3377, allocations: 0.97 MB / 0.5225 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3378, allocations: 1.031 kB / 0.5226 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.3382, allocations: 48.05 kB / 0.5226 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.3385, allocations: 67.3 kB / 0.5227 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.3388, allocations: 151.5 kB / 0.5228 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.3391, allocations: 198.9 kB / 0.523 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3392, allocations: 30.61 kB / 0.523 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3394, allocations: 82.69 kB / 0.5231 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3395, allocations: 77.33 kB / 0.5232 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.3396, allocations: 12.22 kB / 0.5232 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3397, allocations: 50.28 kB / 0.5232 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.3397, allocations: 36.7 kB / 0.5233 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.3398, allocations: 74.28 kB / 0.5233 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.3402, allocations: 201.3 kB / 0.5235 GB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3402, allocations: 0 / 0.5235 GB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3402, allocations: 0 / 0.5235 GB, free: 1.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3402, allocations: 1.406 kB / 0.5235 GB, free: 1.301 MB / 382.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.0008995/0.3411, allocations: 0.5508 MB / 0.5241 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3411, allocations: 9.219 kB / 0.5241 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.3412, allocations: 18.78 kB / 0.5241 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.3415, allocations: 255.4 kB / 0.5243 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3416, allocations: 13.33 kB / 0.5244 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.3416, allocations: 8.5 kB / 0.5244 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.342, allocations: 146.7 kB / 0.5245 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3421, allocations: 4 kB / 0.5245 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3421, allocations: 6.109 kB / 0.5245 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3421, allocations: 1.531 kB / 0.5245 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.3426, allocations: 108.8 kB / 0.5246 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.3432, allocations: 0.5487 MB / 0.5252 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.3439, allocations: 158.6 kB / 0.5253 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.3442, allocations: 73.77 kB / 0.5254 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3442, allocations: 5.188 kB / 0.5254 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.3446, allocations: 142.4 kB / 0.5255 GB, free: 15.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.3446, allocations: 4 kB / 0.5255 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000916/0.3456, allocations: 254.9 kB / 0.5258 GB, free: 15.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3456, allocations: 54.3 kB / 0.5258 GB, free: 15.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.3458, allocations: 235.5 kB / 0.526 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3459, allocations: 27.08 kB / 0.5261 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.346, allocations: 135.5 kB / 0.5262 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.346, allocations: 38.86 kB / 0.5262 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.3461, allocations: 33.47 kB / 0.5263 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3462, allocations: 330.5 kB / 0.5266 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3465, allocations: 67.69 kB / 0.5266 GB, free: 14.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.3468, allocations: 109.7 kB / 0.5267 GB, free: 14.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.3473, allocations: 197.9 kB / 0.5269 GB, free: 14.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3473, allocations: 0 / 0.5269 GB, free: 14.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006966/0.348, allocations: 260.8 kB / 0.5272 GB, free: 14.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.3481, allocations: 41.28 kB / 0.5272 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3481, allocations: 1.375 kB / 0.5272 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3481, allocations: 1.281 kB / 0.5272 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3483, allocations: 33.22 kB / 0.5273 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.3484, allocations: 10.02 kB / 0.5273 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.3486, allocations: 29.55 kB / 0.5273 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.3486, allocations: 8.875 kB / 0.5273 GB, free: 14.52 MB / 398.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.0001338/0.3488, allocations: 133.9 kB / 0.5274 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.3488, allocations: 19.67 kB / 0.5275 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.3489, allocations: 20.09 kB / 0.5275 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3489, allocations: 0 / 0.5275 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3489, allocations: 3.938 kB / 0.5275 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.349, allocations: 101.4 kB / 0.5276 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.349, allocations: 6.344 kB / 0.5276 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.3492, allocations: 22.84 kB / 0.5276 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.3493, allocations: 14.98 kB / 0.5276 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007866/0.3501, allocations: 283.2 kB / 0.5279 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009597/0.351, allocations: 463 kB / 0.5283 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002695/0.3513, allocations: 75.06 kB / 0.5284 GB, free: 13.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.3515, allocations: 164.6 kB / 0.5286 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Backend: time 7.32e-07/0.3515, allocations: 0 / 0.5286 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.3532, allocations: 0.5932 MB / 0.5291 GB, free: 13.25 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009457/0.3542, allocations: 0.773 MB / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of Templates: time 0.007269/0.3615, allocations: 3.222 MB / 0.533 GB, free: 10.91 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)