Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001082, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001052/0.001052, allocations: 177.3 kB / 15.95 MB, free: 216 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.811/1.811, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3753/0.3753, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0005979/0.000598, allocations: 23.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002483/0.1301, allocations: 1.366 MB / 435.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1314, allocations: 0.7381 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.1315, allocations: 4 kB / 436 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.1318, allocations: 27.89 kB / 436.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.132, allocations: 43.81 kB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1323, allocations: 75.78 kB / 436.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1324, allocations: 55.86 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.1325, allocations: 24.2 kB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1326, allocations: 35.8 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.1327, allocations: 27.84 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1327, allocations: 0 / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.862e-05/0.1328, allocations: 31.92 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.1328, allocations: 11.98 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.1329, allocations: 45.58 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.133, allocations: 80.09 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.1331, allocations: 0 / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1331, allocations: 0 / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1331, allocations: 0 / 436.5 MB, free: 2.996 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.0005913/0.1337, allocations: 395 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1337, allocations: 12.03 kB / 436.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.1338, allocations: 23.69 kB / 436.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.134, allocations: 202.9 kB / 437.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.134, allocations: 0 / 437.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.134, allocations: 4 kB / 437.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1342, allocations: 53.67 kB / 437.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.1342, allocations: 3.938 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1342, allocations: 7.984 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1342, allocations: 0 / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.908e-05/0.1343, allocations: 23.94 kB / 437.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.1346, allocations: 280.9 kB / 437.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1348, allocations: 58.67 kB / 437.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1348, allocations: 4 kB / 437.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.135, allocations: 71.45 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.135, allocations: 0 / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005686/0.1356, allocations: 169.2 kB / 437.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1356, allocations: 55.34 kB / 437.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1358, allocations: 186.2 kB / 438 MB, free: 1.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1358, allocations: 29.7 kB / 438 MB, free: 1.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.1359, allocations: 108.1 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1359, allocations: 23.7 kB / 438.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1359, allocations: 0 / 438.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.136, allocations: 322.8 kB / 438.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.1361, allocations: 23.98 kB / 438.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.1362, allocations: 33.7 kB / 438.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.946e-05/0.1362, allocations: 28.25 kB / 438.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1362, allocations: 0 / 438.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001669/0.1364, allocations: 109.4 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1364, allocations: 8 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1365, allocations: 3.953 kB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1365, allocations: 0 / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.1366, allocations: 12 kB / 438.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1366, allocations: 7.984 kB / 438.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.1366, allocations: 0 / 438.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1366, allocations: 4 kB / 438.7 MB, free: 0.5547 MB / 366.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 (10): * Single equations (assignments): 10 * 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 0.0001767/0.1368, allocations: 130.8 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.1369, allocations: 15.89 kB / 438.8 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.1369, allocations: 12.72 kB / 438.9 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1369, allocations: 3.953 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.1369, allocations: 0 / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1369, allocations: 0 / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.1374, allocations: 395.4 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1374, allocations: 3.828 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.1375, allocations: 15.94 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1375, allocations: 0 / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1375, allocations: 4 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1375, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1375, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1377, allocations: 221.8 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.1378, allocations: 93 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1378, allocations: 0 / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.1379, allocations: 4 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.1379, allocations: 7.984 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1379, allocations: 384 / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.1381, allocations: 152 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1381, allocations: 0 / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1384, allocations: 28 kB / 439.8 MB, free: 15.38 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 (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.001078/0.1395, allocations: 464.8 kB / 440.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1397, allocations: 75.88 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1397, allocations: 0 / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.1398, allocations: 23.94 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.14, allocations: 27.92 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.1404, allocations: 230.5 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1407, allocations: 0.7121 MB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.805e-05/0.1407, allocations: 12.88 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.1408, allocations: 15.44 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1408, allocations: 4 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.004308/0.1451, allocations: 1.587 MB / 442.9 MB, free: 12.2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) Environment - environmentSimulation: