Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 115.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 202.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 83.88 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3335, allocations: 62.42 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003159/0.3367, allocations: 1.941 MB / 0.5336 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3384, allocations: 1.061 MB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3385, allocations: 2.75 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.3388, allocations: 41.34 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.3392, allocations: 97.59 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.3394, allocations: 99.02 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.3397, allocations: 145.3 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3398, allocations: 35.22 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.3399, allocations: 56.34 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.34, allocations: 49.47 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.34, allocations: 6.75 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3401, allocations: 51.53 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.3402, allocations: 30.23 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.3403, allocations: 55.83 kB / 0.5353 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3405, allocations: 149.3 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3405, allocations: 0 / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3406, allocations: 1.344 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3406, allocations: 0 / 0.5354 GB, free: 10.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006046/0.3412, allocations: 496.3 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3412, allocations: 9.125 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3413, allocations: 20.55 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3416, allocations: 235.9 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3416, allocations: 3.781 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.3416, allocations: 12.5 kB / 0.5362 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.3419, allocations: 113.1 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3419, allocations: 0 / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3419, allocations: 5.094 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3419, allocations: 5.219 kB / 0.5363 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3421, allocations: 46.88 kB / 0.5363 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.3426, allocations: 0.4961 MB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.343, allocations: 100.3 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.554e-05/0.3431, allocations: 35.03 kB / 0.537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3431, allocations: 6.172 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.3433, allocations: 77.12 kB / 0.537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3433, allocations: 4 kB / 0.537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000395/0.3437, allocations: 143.5 kB / 0.5372 GB, free: 9.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.3437, allocations: 56.28 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3439, allocations: 204 kB / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3439, allocations: 31.02 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.344, allocations: 118.5 kB / 0.5376 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3441, allocations: 36.72 kB / 0.5376 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.3441, allocations: 33.8 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3442, allocations: 330.6 kB / 0.538 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.3443, allocations: 28.14 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3444, allocations: 63.77 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.3446, allocations: 105 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3446, allocations: 1.25 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002657/0.3449, allocations: 129.6 kB / 0.5383 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3449, allocations: 9.5 kB / 0.5383 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.345, allocations: 5.109 kB / 0.5383 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.345, allocations: 2.344 kB / 0.5383 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3451, allocations: 26.19 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3451, allocations: 10.11 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.3452, allocations: 8.484 kB / 0.5383 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3452, allocations: 4.312 kB / 0.5383 GB, free: 8.09 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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001004/0.3453, allocations: 130.6 kB / 0.5385 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.3453, allocations: 19.42 kB / 0.5385 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.3454, allocations: 21.69 kB / 0.5385 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3454, allocations: 1.125 kB / 0.5385 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3454, allocations: 3.938 kB / 0.5385 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3455, allocations: 92.05 kB / 0.5386 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3455, allocations: 2.156 kB / 0.5386 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.3456, allocations: 3.25 kB / 0.5386 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.3456, allocations: 11.14 kB / 0.5386 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003375/0.346, allocations: 205.3 kB / 0.5388 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004369/0.3464, allocations: 335.3 kB / 0.5391 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.361e-05/0.3465, allocations: 34.36 kB / 0.5392 GB, free: 7.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3466, allocations: 142.2 kB / 0.5393 GB, free: 7.266 MB / 398.1 MB Notification: Performance of Backend: time 5.31e-07/0.3466, allocations: 0 / 0.5393 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.3481, allocations: 497.7 kB / 0.5398 GB, free: 7.031 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007113/0.3488, allocations: 0.7349 MB / 0.5405 GB, free: 6.336 MB / 398.1 MB Notification: Performance of Templates: time 0.005008/0.3538, allocations: 2.114 MB / 0.5425 GB, free: 5.266 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)