Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.006947/0.006947, allocations: 174.1 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3395/0.3395, allocations: 38.03 MB / 308.8 MB, free: 10.36 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006162/0.0006163, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1353, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002018/0.1373, allocations: 1.389 MB / 436 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1392, allocations: 1.375 MB / 437.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.1393, allocations: 0 / 437.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.1396, allocations: 39.83 kB / 437.4 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1398, allocations: 43.83 kB / 437.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.1401, allocations: 79.84 kB / 437.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1403, allocations: 87.7 kB / 437.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.1404, allocations: 16.22 kB / 437.6 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.1405, allocations: 43.77 kB / 437.6 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1406, allocations: 31.8 kB / 437.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1406, allocations: 4 kB / 437.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1408, allocations: 59.95 kB / 437.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.1408, allocations: 15.92 kB / 437.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.1409, allocations: 53.5 kB / 437.8 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1411, allocations: 120 kB / 437.9 MB, free: 1.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1411, allocations: 0 / 437.9 MB, free: 1.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1411, allocations: 4 kB / 437.9 MB, free: 1.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1411, allocations: 0 / 437.9 MB, free: 1.828 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004888/0.1416, allocations: 399.1 kB / 438.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1417, allocations: 8.031 kB / 438.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1417, allocations: 12.84 kB / 438.3 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.142, allocations: 196.2 kB / 438.5 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.142, allocations: 12.36 kB / 438.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.142, allocations: 8.109 kB / 438.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1422, allocations: 71.39 kB / 438.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1422, allocations: 3.938 kB / 438.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1423, allocations: 0 / 438.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1423, allocations: 0 / 438.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.582e-05/0.1424, allocations: 19.98 kB / 438.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.1428, allocations: 284.8 kB / 438.9 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.143, allocations: 58.69 kB / 439 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.143, allocations: 24.78 kB / 439 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.143, allocations: 0 / 439 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.1433, allocations: 67.39 kB / 439.1 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1433, allocations: 0 / 439.1 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005896/0.1439, allocations: 173.2 kB / 439.2 MB, free: 348 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.1439, allocations: 81.11 kB / 439.3 MB, free: 248 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1441, allocations: 153.8 kB / 439.5 MB, free: 84 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1441, allocations: 25.7 kB / 439.5 MB, free: 52 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.1442, allocations: 96.08 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1443, allocations: 31.58 kB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1443, allocations: 13.72 kB / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1444, allocations: 330.8 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.1445, allocations: 23.98 kB / 440 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1446, allocations: 38.56 kB / 440 MB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1447, allocations: 57.66 kB / 440.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1447, allocations: 0 / 440.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.1449, allocations: 105.5 kB / 440.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1449, allocations: 8.062 kB / 440.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1449, allocations: 4 kB / 440.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1449, allocations: 0 / 440.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.145, allocations: 15.98 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.145, allocations: 0 / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.1451, allocations: 7.938 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1451, allocations: 4 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.884e-05/0.1452, allocations: 117.8 kB / 440.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.1452, allocations: 15.89 kB / 440.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.1453, allocations: 16.66 kB / 440.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1453, allocations: 4 kB / 440.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1453, allocations: 384 / 440.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1453, allocations: 3.938 kB / 440.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1457, allocations: 387.2 kB / 440.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1457, allocations: 7.984 kB / 440.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.1458, allocations: 8 kB / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1458, allocations: 32 / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1458, allocations: 11.94 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1458, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1458, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.146, allocations: 204.5 kB / 441 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.1461, allocations: 89 kB / 441.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1461, allocations: 3.938 kB / 441.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.1462, allocations: 12 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1462, allocations: 11.92 kB / 441.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1463, allocations: 4 kB / 441.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.943e-05/0.1464, allocations: 118.7 kB / 441.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.1464, allocations: 192 / 441.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1466, allocations: 31.94 kB / 441.2 MB, free: 14.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001015/0.1477, allocations: 0.5024 MB / 441.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1478, allocations: 55.92 kB / 441.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1478, allocations: 4.062 kB / 441.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.1479, allocations: 31.97 kB / 441.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1483, allocations: 31.91 kB / 441.9 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.1487, allocations: 218 kB / 442.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1489, allocations: 0.6975 MB / 442.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.149, allocations: 17.19 kB / 442.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.149, allocations: 27.42 kB / 442.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.149, allocations: 0 / 442.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.004293/0.1533, allocations: 1.873 MB / 444.7 MB, free: 10.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) Environment - environmentSimulation: