Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.00122, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001592/0.001592, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.4271/0.4271, allocations: 40.01 MB / 310.4 MB, free: 9.918 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.0005953/0.0005955, allocations: 16 kB / 378.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1317, allocations: 57.95 MB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002117/0.1338, allocations: 1.35 MB / 438.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1351, allocations: 0.7305 MB / 438.9 MB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.1352, allocations: 0 / 438.9 MB, free: 468 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1355, allocations: 59.86 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1357, allocations: 51.81 kB / 439 MB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.136, allocations: 79.84 kB / 439.1 MB, free: 276 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1362, allocations: 87.69 kB / 439.2 MB, free: 188 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.1362, allocations: 7.984 kB / 439.2 MB, free: 180 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1363, allocations: 43.77 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1364, allocations: 35.84 kB / 439.2 MB, free: 100 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1365, allocations: 7.938 kB / 439.2 MB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.527e-05/0.1365, allocations: 20 kB / 439.3 MB, free: 72 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.1366, allocations: 19.91 kB / 439.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.1367, allocations: 37.64 kB / 439.3 MB, free: 8 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1368, allocations: 76.11 kB / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1368, allocations: 4 kB / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1368, allocations: 0 / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.1369, allocations: 0 / 439.4 MB, free: 15.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005054/0.1374, allocations: 390.8 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1374, allocations: 12.03 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.1375, allocations: 7.906 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1377, allocations: 202.9 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1377, allocations: 0 / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1377, allocations: 4 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1379, allocations: 57.55 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1379, allocations: 3.984 kB / 440.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1379, allocations: 0 / 440.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1379, allocations: 7.953 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.272e-05/0.138, allocations: 12 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.1382, allocations: 181.6 kB / 440.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.1384, allocations: 54.61 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.1384, allocations: 20.84 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1384, allocations: 0 / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.1386, allocations: 67.33 kB / 440.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1386, allocations: 0 / 440.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002702/0.1389, allocations: 97.77 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.139, allocations: 59.36 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1391, allocations: 182.2 kB / 440.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1392, allocations: 25.7 kB / 440.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.1392, allocations: 96.14 kB / 440.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.1393, allocations: 19.8 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.1393, allocations: 0 / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1394, allocations: 326.8 kB / 441.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.1395, allocations: 12 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.1395, allocations: 33.7 kB / 441.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.1396, allocations: 12 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1396, allocations: 0 / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001515/0.1397, allocations: 85.52 kB / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1398, allocations: 4 kB / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1398, allocations: 0 / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1398, allocations: 0 / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.1399, allocations: 12 kB / 441.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1399, allocations: 7.984 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.1399, allocations: 11.91 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.14, allocations: 0 / 441.4 MB, free: 13.73 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.334e-05/0.1401, allocations: 129.6 kB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.1401, allocations: 11.91 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.1401, allocations: 16.3 kB / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1401, allocations: 0 / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1401, allocations: 0 / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1401, allocations: 7.891 kB / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1403, allocations: 189.6 kB / 441.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1403, allocations: 0 / 441.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.1403, allocations: 7.938 kB / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1403, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.1404, allocations: 3.984 kB / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1404, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1404, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1405, allocations: 105 kB / 441.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.1406, allocations: 96.91 kB / 441.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.1406, allocations: 0 / 441.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.1407, allocations: 8.125 kB / 441.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.1407, allocations: 7.984 kB / 441.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1407, allocations: 4 kB / 441.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1408, allocations: 148 kB / 442.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1409, allocations: 0 / 442.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1411, allocations: 12 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008702/0.1419, allocations: 414.1 kB / 442.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1421, allocations: 39.92 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1421, allocations: 0 / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.743e-05/0.1422, allocations: 19.98 kB / 442.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1424, allocations: 31.88 kB / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.1429, allocations: 209.3 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1433, allocations: 0.7043 MB / 443.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.981e-05/0.1434, allocations: 12.55 kB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.1434, allocations: 15.44 kB / 443.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1434, allocations: 4 kB / 443.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of Templates: time 0.004114/0.1476, allocations: 1.368 MB / 444.9 MB, free: 10.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) Environment - environmentSimulation: