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.001568/0.001568, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002061/0.002061, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.648/1.648, allocations: 205.1 MB / 222.1 MB, free: 4.562 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.3736/0.3736, allocations: 39.93 MB / 309.4 MB, free: 9.57 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.001489/0.001489, allocations: 75.89 kB / 377.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.135, allocations: 56.87 MB / 434 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003543/0.1386, allocations: 1.747 MB / 435.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1401, allocations: 0.8 MB / 436.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.1402, allocations: 0 / 436.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.1407, allocations: 43.88 kB / 436.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.141, allocations: 55.77 kB / 436.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1413, allocations: 79.84 kB / 436.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.1415, allocations: 95.69 kB / 436.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1417, allocations: 20.2 kB / 436.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.1418, allocations: 39.8 kB / 436.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.1418, allocations: 35.83 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1419, allocations: 4 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.142, allocations: 39.98 kB / 437 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.1421, allocations: 35.8 kB / 437 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.1421, allocations: 35.73 kB / 437 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1423, allocations: 135.8 kB / 437.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1423, allocations: 0 / 437.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1424, allocations: 0 / 437.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1424, allocations: 0 / 437.2 MB, free: 0.8242 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.0005632/0.1429, allocations: 438.6 kB / 437.6 MB, free: 356 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.143, allocations: 11.89 kB / 437.6 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.143, allocations: 12.84 kB / 437.6 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1433, allocations: 227.7 kB / 437.8 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1433, allocations: 4.375 kB / 437.8 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1433, allocations: 8.062 kB / 437.8 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1435, allocations: 53.67 kB / 437.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1435, allocations: 3.984 kB / 437.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1435, allocations: 4 kB / 437.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1435, allocations: 0 / 437.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.1436, allocations: 19.98 kB / 437.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.144, allocations: 296.8 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1442, allocations: 62.61 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1442, allocations: 16.86 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1443, allocations: 3.984 kB / 438.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.1445, allocations: 71.39 kB / 438.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1445, allocations: 0 / 438.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005767/0.145, allocations: 173.1 kB / 438.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1451, allocations: 59.39 kB / 438.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1454, allocations: 255.8 kB / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1454, allocations: 25.7 kB / 438.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.1455, allocations: 112.1 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.1455, allocations: 39.5 kB / 439 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.1456, allocations: 25.72 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1457, allocations: 334.8 kB / 439.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.1458, allocations: 16 kB / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.1458, allocations: 37.7 kB / 439.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.146, allocations: 53.7 kB / 439.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.146, allocations: 4 kB / 439.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1462, allocations: 105.4 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1462, allocations: 7.984 kB / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1462, allocations: 4 kB / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1462, allocations: 0 / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.1463, allocations: 12.38 kB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1463, allocations: 3.938 kB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.1464, allocations: 15.92 kB / 439.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1464, allocations: 4 kB / 439.6 MB, free: 14.11 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.0001048/0.1465, allocations: 133.9 kB / 439.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.1465, allocations: 15.81 kB / 439.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.1466, allocations: 21.41 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1466, allocations: 0 / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1466, allocations: 192 / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1466, allocations: 11.92 kB / 439.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.147, allocations: 403.2 kB / 440.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1471, allocations: 4.031 kB / 440.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.1471, allocations: 11.98 kB / 440.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1471, allocations: 3.984 kB / 440.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1471, allocations: 3.938 kB / 440.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1471, allocations: 4 kB / 440.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1471, allocations: 0 / 440.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1474, allocations: 204.2 kB / 440.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1474, allocations: 92.92 kB / 440.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1474, allocations: 7.938 kB / 440.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.1475, allocations: 7.984 kB / 440.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1476, allocations: 4 kB / 440.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1476, allocations: 4 kB / 440.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1477, allocations: 207 kB / 440.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.532e-06/0.1478, allocations: 0 / 440.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.148, allocations: 27.94 kB / 440.8 MB, free: 12.86 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.001047/0.1491, allocations: 466 kB / 441.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1493, allocations: 63.89 kB / 441.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1493, allocations: 0 / 441.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.527e-05/0.1494, allocations: 39.98 kB / 441.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1497, allocations: 35.05 kB / 441.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.1503, allocations: 319.7 kB / 441.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1506, allocations: 0.7118 MB / 442.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.1506, allocations: 21.19 kB / 442.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.1507, allocations: 19.44 kB / 442.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1507, allocations: 4 kB / 442.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004226/0.1549, allocations: 1.693 MB / 444.1 MB, free: 9.473 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (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)