Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 92 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.006021/0.006021, allocations: 172.8 kB / 16.26 MB, free: 6.68 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.431/1.431, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.3248/0.3248, allocations: 38.04 MB / 308.8 MB, free: 10.19 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.0005586/0.0005585, allocations: 20 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1283, allocations: 57.53 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001902/0.1302, allocations: 1.393 MB / 436 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1314, allocations: 0.7845 MB / 436.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.1314, allocations: 0 / 436.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1317, allocations: 27.84 kB / 436.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1319, allocations: 47.83 kB / 436.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1321, allocations: 75.84 kB / 436.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1323, allocations: 87.7 kB / 437 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.1324, allocations: 20.2 kB / 437 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.1325, allocations: 39.78 kB / 437 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.1325, allocations: 27.8 kB / 437.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1326, allocations: 4 kB / 437.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.1327, allocations: 39.97 kB / 437.1 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.1327, allocations: 15.92 kB / 437.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.1328, allocations: 49.52 kB / 437.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.133, allocations: 99.97 kB / 437.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.133, allocations: 3.938 kB / 437.3 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.133, allocations: 0 / 437.3 MB, free: 2.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.133, allocations: 0 / 437.3 MB, free: 2.473 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.0005177/0.1335, allocations: 403.1 kB / 437.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1336, allocations: 8.031 kB / 437.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1336, allocations: 8.844 kB / 437.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1338, allocations: 200.7 kB / 437.9 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1338, allocations: 3.938 kB / 437.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1339, allocations: 3.984 kB / 437.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.134, allocations: 57.67 kB / 438 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.134, allocations: 0 / 438 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.134, allocations: 7.938 kB / 438 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.134, allocations: 0 / 438 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.1341, allocations: 23.92 kB / 438 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.1345, allocations: 288.8 kB / 438.3 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1346, allocations: 50.69 kB / 438.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.1347, allocations: 28.84 kB / 438.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1347, allocations: 0 / 438.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1349, allocations: 67.33 kB / 438.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1349, allocations: 0 / 438.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005056/0.1354, allocations: 169.2 kB / 438.6 MB, free: 1.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1355, allocations: 59.28 kB / 438.6 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1356, allocations: 162.4 kB / 438.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1356, allocations: 29.7 kB / 438.8 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.1357, allocations: 96.14 kB / 438.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1357, allocations: 27.64 kB / 438.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.1358, allocations: 13.72 kB / 439 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1359, allocations: 322.8 kB / 439.3 MB, free: 268 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.136, allocations: 19.98 kB / 439.3 MB, free: 248 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.136, allocations: 37.7 kB / 439.3 MB, free: 204 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1361, allocations: 65.64 kB / 439.4 MB, free: 132 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1362, allocations: 0 / 439.4 MB, free: 132 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001613/0.1363, allocations: 93.58 kB / 439.5 MB, free: 32 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1363, allocations: 8 kB / 439.5 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1364, allocations: 384 / 439.5 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1364, allocations: 3.938 kB / 439.5 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.1365, allocations: 19.92 kB / 439.5 MB, free: 0 / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1365, allocations: 12.08 kB / 439.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.1365, allocations: 4 kB / 439.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1366, allocations: 4 kB / 439.5 MB, free: 15.98 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.888e-05/0.1367, allocations: 117.8 kB / 439.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1367, allocations: 11.89 kB / 439.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1367, allocations: 16.66 kB / 439.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1367, allocations: 3.938 kB / 439.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1368, allocations: 0 / 439.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1368, allocations: 0 / 439.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.1372, allocations: 403.2 kB / 440.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1372, allocations: 192 / 440.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-05/0.1372, allocations: 8 kB / 440.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1372, allocations: 7.922 kB / 440.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1372, allocations: 3.938 kB / 440.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1372, allocations: 4 kB / 440.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1372, allocations: 0 / 440.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.1375, allocations: 204.3 kB / 440.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.1375, allocations: 81.02 kB / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1376, allocations: 11.98 kB / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.1376, allocations: 0 / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.1377, allocations: 7.938 kB / 440.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1377, allocations: 7.984 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.942e-05/0.1378, allocations: 131.9 kB / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1378, allocations: 0 / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1381, allocations: 24 kB / 440.6 MB, free: 14.85 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.001043/0.1391, allocations: 464.8 kB / 441 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.1393, allocations: 59.91 kB / 441.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1393, allocations: 0 / 441.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.1394, allocations: 35.91 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1397, allocations: 23.98 kB / 441.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.1401, allocations: 226.2 kB / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1404, allocations: 0.6965 MB / 442 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.1405, allocations: 17.19 kB / 442.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1405, allocations: 19.44 kB / 442.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.833e-06/0.1405, allocations: 0 / 442.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of Templates: time 0.00426/0.1448, allocations: 1.62 MB / 443.7 MB, free: 11.67 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) Environment - environmentSimulation: