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) 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.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/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001952, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 80.75 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 62.44 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004441/0.1158, allocations: 2.028 MB / 482.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.118, allocations: 1.111 MB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.1182, allocations: 0 / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.1186, allocations: 55.62 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.119, allocations: 111.4 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1193, allocations: 115.5 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.1197, allocations: 203.4 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1198, allocations: 33.66 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.12, allocations: 87.64 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1201, allocations: 79.55 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.1201, allocations: 12 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1203, allocations: 51.98 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.1203, allocations: 35.84 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.1204, allocations: 75.52 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1207, allocations: 195.6 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1208, allocations: 0 / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1208, allocations: 0 / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.1208, allocations: 0 / 484.2 MB, free: 1.098 MB / 350.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.0009344/0.1217, allocations: 0.5681 MB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1218, allocations: 8.031 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.1218, allocations: 20.75 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1221, allocations: 248.8 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1222, allocations: 8.375 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1222, allocations: 16.06 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.1226, allocations: 148.2 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1226, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1227, allocations: 4 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1227, allocations: 7.938 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.1232, allocations: 119.8 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.1238, allocations: 0.536 MB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.1245, allocations: 162.6 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.1248, allocations: 76.78 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1248, allocations: 4 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004568/0.1253, allocations: 143.1 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.1253, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009182/0.1262, allocations: 257.2 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1262, allocations: 63.34 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1265, allocations: 229.6 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1265, allocations: 25.7 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.1266, allocations: 124.3 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.1267, allocations: 43.58 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.1267, allocations: 41.7 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1269, allocations: 330.8 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.1271, allocations: 63.94 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1274, allocations: 106.8 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.1279, allocations: 197.8 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1279, allocations: 0 / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007737/0.1287, allocations: 247 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.1288, allocations: 33.7 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1288, allocations: 8.062 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1288, allocations: 4 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.129, allocations: 35.91 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.129, allocations: 11.92 kB / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1292, allocations: 27.83 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.1292, allocations: 7.984 kB / 488.1 MB, free: 12.91 MB / 366.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.0002126/0.1295, allocations: 137.8 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1295, allocations: 27.72 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.1296, allocations: 21.39 kB / 488.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1296, allocations: 7.938 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1296, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1296, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1298, allocations: 229.6 kB / 488.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1298, allocations: 0 / 488.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.13, allocations: 27.91 kB / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.13, allocations: 0 / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.13, allocations: 12 kB / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.13, allocations: 3.938 kB / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.13, allocations: 4 kB / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.1309, allocations: 300.7 kB / 488.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.131, allocations: 100.8 kB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.1311, allocations: 4 kB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1312, allocations: 23.91 kB / 488.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.1313, allocations: 15.98 kB / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1313, allocations: 4 kB / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.1315, allocations: 176.5 kB / 489.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1315, allocations: 3.938 kB / 489.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1318, allocations: 40.05 kB / 489.2 MB, free: 11.7 MB / 366.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.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.000959/0.1328, allocations: 407.6 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006837/0.1335, allocations: 223.3 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1335, allocations: 4.062 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.1338, allocations: 83.81 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1341, allocations: 47.56 kB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.1348, allocations: 312.1 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1352, allocations: 0.7319 MB / 491 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.89e-05/0.1353, allocations: 21.53 kB / 491 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.1354, allocations: 19.44 kB / 491 MB, free: 9.953 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1354, allocations: 4 kB / 491 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Templates: time 0.007169/0.1425, allocations: 2.831 MB / 493.8 MB, free: 7.137 MB / 366.1 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)