Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.749/1.749, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.4249/0.4249, allocations: 39.94 MB / 309.7 MB, free: 9.305 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.001565/0.001565, allocations: 67.91 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 56.88 MB / 434.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003395/0.1381, allocations: 1.685 MB / 436.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1394, allocations: 0.8132 MB / 437 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1395, allocations: 0 / 437 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1399, allocations: 39.77 kB / 437 MB, free: 1.152 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1402, allocations: 47.77 kB / 437.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.1405, allocations: 87.69 kB / 437.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1407, allocations: 87.77 kB / 437.3 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1409, allocations: 28.14 kB / 437.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.141, allocations: 35.8 kB / 437.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1411, allocations: 31.84 kB / 437.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.1411, allocations: 4 kB / 437.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1413, allocations: 43.98 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.1414, allocations: 15.92 kB / 437.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.1414, allocations: 35.73 kB / 437.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.1417, allocations: 111.9 kB / 437.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1417, allocations: 0 / 437.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1417, allocations: 4 kB / 437.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.1418, allocations: 4 kB / 437.6 MB, free: 0.625 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.0006272/0.1424, allocations: 414.9 kB / 438 MB, free: 176 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.1424, allocations: 11.89 kB / 438 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.1425, allocations: 8.844 kB / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.1428, allocations: 204.1 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1428, allocations: 4.375 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1429, allocations: 8.125 kB / 438.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.143, allocations: 57.61 kB / 438.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1431, allocations: 7.984 kB / 438.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1431, allocations: 0 / 438.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1431, allocations: 3.938 kB / 438.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.1432, allocations: 23.92 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.1436, allocations: 280.9 kB / 438.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.1439, allocations: 62.67 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.144, allocations: 16.86 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.144, allocations: 7.984 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.1443, allocations: 71.23 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.1443, allocations: 0 / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006044/0.1449, allocations: 165.3 kB / 438.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.145, allocations: 59.41 kB / 438.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1451, allocations: 186.1 kB / 439.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1452, allocations: 25.7 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.1453, allocations: 104.1 kB / 439.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1453, allocations: 19.72 kB / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.1454, allocations: 29.7 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1455, allocations: 330.8 kB / 439.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-05/0.1456, allocations: 20 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.1457, allocations: 38.08 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1458, allocations: 57.64 kB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1458, allocations: 4 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.146, allocations: 105.5 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.146, allocations: 4 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.146, allocations: 3.984 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.146, allocations: 8.031 kB / 439.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.1461, allocations: 12 kB / 439.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1462, allocations: 160 / 439.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.1462, allocations: 7.938 kB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1462, allocations: 3.984 kB / 439.9 MB, free: 14.07 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.899e-05/0.1463, allocations: 133.1 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1464, allocations: 7.906 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.1464, allocations: 16.7 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1464, allocations: 0 / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1464, allocations: 4 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1465, allocations: 8.125 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.1469, allocations: 391.2 kB / 440.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1469, allocations: 3.938 kB / 440.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.147, allocations: 15.88 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.147, allocations: 0 / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.147, allocations: 11.92 kB / 440.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.147, allocations: 0 / 440.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.147, allocations: 4.031 kB / 440.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1473, allocations: 196.3 kB / 440.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.1473, allocations: 85.02 kB / 440.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1473, allocations: 3.938 kB / 440.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.1474, allocations: 8 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.1475, allocations: 7.984 kB / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1475, allocations: 11.94 kB / 440.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1476, allocations: 144 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1476, allocations: 0 / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1479, allocations: 24 kB / 440.9 MB, free: 12.91 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.001104/0.149, allocations: 465.6 kB / 441.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1492, allocations: 63.84 kB / 441.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1492, allocations: 0 / 441.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.175e-05/0.1493, allocations: 27.98 kB / 441.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1497, allocations: 35.83 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.1502, allocations: 235.2 kB / 441.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1505, allocations: 0.7002 MB / 442.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.131e-05/0.1506, allocations: 25.11 kB / 442.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.1506, allocations: 15.44 kB / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1506, allocations: 0 / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of Templates: time 0.00483/0.1554, allocations: 1.689 MB / 444.2 MB, free: 9.633 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)