Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007138/0.000714, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004213/0.004214, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.618/1.618, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3629/0.3629, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0006106/0.0006106, allocations: 16 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1318, allocations: 57.52 MB / 434.6 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002052/0.1339, allocations: 1.389 MB / 436 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1352, allocations: 0.7729 MB / 436.7 MB, free: 3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.1353, allocations: 4 kB / 436.7 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1356, allocations: 43.81 kB / 436.8 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1358, allocations: 51.83 kB / 436.8 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.136, allocations: 75.83 kB / 436.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1362, allocations: 95.64 kB / 437 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1363, allocations: 12.22 kB / 437 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.1364, allocations: 39.78 kB / 437.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.1365, allocations: 35.78 kB / 437.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1365, allocations: 4 kB / 437.1 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.1366, allocations: 35.98 kB / 437.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.1367, allocations: 19.92 kB / 437.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.1367, allocations: 57.44 kB / 437.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1369, allocations: 119.9 kB / 437.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1369, allocations: 0 / 437.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.137, allocations: 0 / 437.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.137, allocations: 0 / 437.3 MB, free: 2.41 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.0005597/0.1375, allocations: 399.1 kB / 437.7 MB, free: 1.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1376, allocations: 12.03 kB / 437.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.1376, allocations: 16.73 kB / 437.7 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1379, allocations: 204.8 kB / 437.9 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1379, allocations: 384 / 437.9 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.1379, allocations: 12.11 kB / 438 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1381, allocations: 53.67 kB / 438 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1381, allocations: 0 / 438 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1381, allocations: 3.984 kB / 438 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1381, allocations: 4 kB / 438 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.1382, allocations: 27.92 kB / 438 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1386, allocations: 284.9 kB / 438.3 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1387, allocations: 50.69 kB / 438.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.1388, allocations: 28.84 kB / 438.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1388, allocations: 4 kB / 438.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.139, allocations: 67.23 kB / 438.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.139, allocations: 0 / 438.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005058/0.1395, allocations: 177.1 kB / 438.6 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1396, allocations: 55.41 kB / 438.7 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1397, allocations: 191.3 kB / 438.9 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1398, allocations: 33.7 kB / 438.9 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.1399, allocations: 104.1 kB / 439 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1399, allocations: 15.72 kB / 439 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.1399, allocations: 21.7 kB / 439.1 MB, free: 484 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1401, allocations: 326.8 kB / 439.4 MB, free: 148 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.1401, allocations: 20 kB / 439.4 MB, free: 128 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.1402, allocations: 37.64 kB / 439.4 MB, free: 84 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1403, allocations: 69.64 kB / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1403, allocations: 0 / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.1405, allocations: 93.58 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1405, allocations: 7.984 kB / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1405, allocations: 4 kB / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1405, allocations: 0 / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.1406, allocations: 16.31 kB / 439.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1407, allocations: 0 / 439.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.1407, allocations: 19.95 kB / 439.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1407, allocations: 8 kB / 439.6 MB, free: 15.86 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.0001002/0.1408, allocations: 125.7 kB / 439.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.1409, allocations: 15.81 kB / 439.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.1409, allocations: 17.39 kB / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1409, allocations: 0 / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1409, allocations: 0 / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1409, allocations: 3.938 kB / 439.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.1414, allocations: 395.3 kB / 440.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1414, allocations: 0 / 440.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1414, allocations: 11.98 kB / 440.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1414, allocations: 4 kB / 440.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1414, allocations: 7.938 kB / 440.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1414, allocations: 3.938 kB / 440.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1415, allocations: 0 / 440.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.1417, allocations: 200.2 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.1418, allocations: 93 kB / 440.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.1418, allocations: 7.938 kB / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.1419, allocations: 0 / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.1419, allocations: 11.98 kB / 440.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1419, allocations: 4 kB / 440.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1421, allocations: 152.9 kB / 440.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1421, allocations: 4 kB / 440.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1423, allocations: 20 kB / 440.7 MB, free: 14.69 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.0009631/0.1433, allocations: 480.8 kB / 441.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1435, allocations: 55.97 kB / 441.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1435, allocations: 0 / 441.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.1435, allocations: 35.92 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1439, allocations: 27.92 kB / 441.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.1444, allocations: 258.4 kB / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1447, allocations: 0.7043 MB / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.1448, allocations: 16.89 kB / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.1448, allocations: 23.42 kB / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1448, allocations: 0 / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of Templates: time 0.004325/0.1491, allocations: 1.613 MB / 443.9 MB, free: 11.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) Environment - environmentSimulation: