Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00212/0.002121, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.576/1.576, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3826/0.3826, allocations: 39.93 MB / 309.4 MB, free: 9.348 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.2. 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.001435/0.001435, allocations: 71.89 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1373, allocations: 56.87 MB / 434 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003797/0.1412, allocations: 1.759 MB / 435.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1425, allocations: 0.7885 MB / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.1426, allocations: 0 / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.143, allocations: 31.84 kB / 436.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1433, allocations: 47.83 kB / 436.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1436, allocations: 71.86 kB / 436.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1438, allocations: 99.69 kB / 436.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.144, allocations: 16.2 kB / 436.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.1441, allocations: 39.8 kB / 436.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.1442, allocations: 31.84 kB / 436.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1442, allocations: 4 kB / 436.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1443, allocations: 43.92 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.1443, allocations: 15.92 kB / 436.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.1444, allocations: 31.8 kB / 437 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1446, allocations: 103.9 kB / 437.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1446, allocations: 0 / 437.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1446, allocations: 4 kB / 437.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1447, allocations: 0 / 437.1 MB, free: 0.918 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.0005429/0.1452, allocations: 407 kB / 437.5 MB, free: 484 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1453, allocations: 15.89 kB / 437.5 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.1453, allocations: 8.844 kB / 437.5 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1456, allocations: 204.6 kB / 437.7 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1456, allocations: 7.938 kB / 437.7 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1456, allocations: 7.984 kB / 437.7 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1458, allocations: 57.66 kB / 437.8 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1458, allocations: 0 / 437.8 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1459, allocations: 7.938 kB / 437.8 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1459, allocations: 4 kB / 437.8 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.1459, allocations: 15.98 kB / 437.8 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.1464, allocations: 284.8 kB / 438.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1466, allocations: 54.67 kB / 438.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.1466, allocations: 28.84 kB / 438.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1466, allocations: 0 / 438.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.1469, allocations: 71.33 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1469, allocations: 0 / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005326/0.1475, allocations: 169.2 kB / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1475, allocations: 59.28 kB / 438.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1477, allocations: 162.4 kB / 438.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1477, allocations: 29.7 kB / 438.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1478, allocations: 96.14 kB / 438.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.1478, allocations: 23.64 kB / 438.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1478, allocations: 21.72 kB / 438.8 MB, free: 15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.148, allocations: 322.8 kB / 439.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.148, allocations: 23.98 kB / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.1481, allocations: 37.7 kB / 439.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1482, allocations: 58.03 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1482, allocations: 3.984 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001636/0.1484, allocations: 93.59 kB / 439.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1484, allocations: 4 kB / 439.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1484, allocations: 8 kB / 439.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1485, allocations: 3.938 kB / 439.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.1486, allocations: 19.92 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1486, allocations: 4.031 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.1486, allocations: 4 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1486, allocations: 4 kB / 439.3 MB, free: 14.4 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 0.0001052/0.1488, allocations: 125.6 kB / 439.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1488, allocations: 11.81 kB / 439.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.1488, allocations: 16.84 kB / 439.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1489, allocations: 4 kB / 439.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1489, allocations: 3.938 kB / 439.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1489, allocations: 4 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1493, allocations: 387.3 kB / 439.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1493, allocations: 3.938 kB / 439.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.1494, allocations: 11.98 kB / 439.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1494, allocations: 0 / 439.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1494, allocations: 8 kB / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1494, allocations: 0 / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1494, allocations: 3.938 kB / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1496, allocations: 204.5 kB / 440.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.1497, allocations: 89.02 kB / 440.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1497, allocations: 0 / 440.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.1498, allocations: 7.984 kB / 440.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1499, allocations: 4 kB / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1499, allocations: 0 / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.542e-05/0.15, allocations: 135.9 kB / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.15, allocations: 0 / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1502, allocations: 27.98 kB / 440.4 MB, free: 13.27 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.001064/0.1513, allocations: 473.3 kB / 440.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.1515, allocations: 59.91 kB / 440.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1516, allocations: 0 / 440.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.1516, allocations: 31.92 kB / 440.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.152, allocations: 35.83 kB / 441 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.1524, allocations: 238.8 kB / 441.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1527, allocations: 0.6963 MB / 441.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.1528, allocations: 21.12 kB / 441.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.1528, allocations: 23.42 kB / 441.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1528, allocations: 0 / 441.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004276/0.1571, allocations: 1.647 MB / 443.6 MB, free: 10.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)