Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008501, allocations: 90.75 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.005766/0.005766, allocations: 172 kB / 16.26 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.564/1.564, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.3594/0.3594, allocations: 40 MB / 310.7 MB, free: 9.934 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.0005551/0.0005549, allocations: 20 kB / 379.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 57.96 MB / 437.4 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002057/0.1348, allocations: 1.409 MB / 438.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1361, allocations: 0.7847 MB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.1362, allocations: 0 / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1365, allocations: 47.81 kB / 439.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1366, allocations: 51.81 kB / 439.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.1369, allocations: 79.84 kB / 439.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1371, allocations: 95.69 kB / 439.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1372, allocations: 12.22 kB / 439.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.015e-05/0.1373, allocations: 39.8 kB / 439.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.1374, allocations: 35.83 kB / 440 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1374, allocations: 0 / 440 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.1375, allocations: 39.92 kB / 440 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.1375, allocations: 23.91 kB / 440 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.1376, allocations: 73.38 kB / 440.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1378, allocations: 127.7 kB / 440.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1378, allocations: 0 / 440.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1378, allocations: 0 / 440.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1378, allocations: 0 / 440.2 MB, free: 15.34 MB / 382.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.000626/0.1385, allocations: 422.8 kB / 440.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1385, allocations: 8.031 kB / 440.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1386, allocations: 12.75 kB / 440.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1388, allocations: 223.7 kB / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1389, allocations: 8.375 kB / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1389, allocations: 8.125 kB / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.139, allocations: 53.67 kB / 440.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1391, allocations: 0 / 440.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1391, allocations: 0 / 440.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1391, allocations: 0 / 440.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.1392, allocations: 23.92 kB / 441 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.1395, allocations: 296.8 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1397, allocations: 54.69 kB / 441.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.1398, allocations: 20.84 kB / 441.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1398, allocations: 8 kB / 441.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.14, allocations: 63.33 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.14, allocations: 4 kB / 441.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005561/0.1406, allocations: 185 kB / 441.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1406, allocations: 55.34 kB / 441.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.1409, allocations: 255.7 kB / 441.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1409, allocations: 29.7 kB / 441.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.141, allocations: 112.1 kB / 442 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.141, allocations: 27.62 kB / 442.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.1411, allocations: 21.66 kB / 442.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1412, allocations: 334.8 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.1413, allocations: 19.98 kB / 442.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.1413, allocations: 33.7 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1414, allocations: 61.66 kB / 442.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1415, allocations: 0 / 442.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.1416, allocations: 101.5 kB / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1417, allocations: 8.031 kB / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1417, allocations: 0 / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1417, allocations: 3.984 kB / 442.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.1418, allocations: 27.92 kB / 442.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1418, allocations: 0 / 442.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1419, allocations: 8.312 kB / 442.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1419, allocations: 0 / 442.7 MB, free: 12.66 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.0001055/0.142, allocations: 133.8 kB / 442.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.142, allocations: 15.81 kB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.1421, allocations: 25.39 kB / 442.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1421, allocations: 0 / 442.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1421, allocations: 4 kB / 442.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1421, allocations: 3.938 kB / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1425, allocations: 403.3 kB / 443.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1425, allocations: 0 / 443.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.1426, allocations: 8 kB / 443.2 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1426, allocations: 4.219 kB / 443.2 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1426, allocations: 7.938 kB / 443.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1426, allocations: 3.938 kB / 443.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1426, allocations: 4.172 kB / 443.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1429, allocations: 212.2 kB / 443.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.143, allocations: 92.91 kB / 443.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.143, allocations: 7.938 kB / 443.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.1431, allocations: 8 kB / 443.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1431, allocations: 7.984 kB / 443.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1431, allocations: 4 kB / 443.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1433, allocations: 199 kB / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1433, allocations: 0 / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1436, allocations: 31.98 kB / 443.8 MB, free: 11.39 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.0009789/0.1446, allocations: 460.4 kB / 444.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1447, allocations: 63.95 kB / 444.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1448, allocations: 0 / 444.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.528e-05/0.1448, allocations: 23.94 kB / 444.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1452, allocations: 36.09 kB / 444.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.1457, allocations: 310.9 kB / 444.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.146, allocations: 0.7199 MB / 445.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.1461, allocations: 13.19 kB / 445.4 MB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.1461, allocations: 19.42 kB / 445.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1461, allocations: 0 / 445.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of Templates: time 0.004195/0.1503, allocations: 1.651 MB / 447.1 MB, free: 8.086 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) Environment - environmentSimulation: