Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005066/0.005066, allocations: 102 kB / 15.73 MB, free: 6.051 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.001099/0.001099, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2048/0.2048, allocations: 38.02 MB / 307.9 MB, free: 5.965 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.001499/0.001499, allocations: 71.91 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1409, allocations: 56.48 MB / 489.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003896/0.1449, allocations: 1.872 MB / 491.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1462, allocations: 0.8519 MB / 492.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1464, allocations: 0 / 492.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.1467, allocations: 43.7 kB / 492.3 MB, free: 3.016 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.0002577/0.147, allocations: 59.64 kB / 492.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1473, allocations: 103.7 kB / 492.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1475, allocations: 131.6 kB / 492.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1477, allocations: 33.48 kB / 492.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1478, allocations: 59.7 kB / 492.7 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1479, allocations: 47.66 kB / 492.7 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1479, allocations: 8 kB / 492.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.148, allocations: 43.98 kB / 492.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.724e-05/0.1481, allocations: 35.89 kB / 492.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.1482, allocations: 51.67 kB / 492.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1485, allocations: 151.5 kB / 493 MB, free: 2.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1485, allocations: 0 / 493 MB, free: 2.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1485, allocations: 0 / 493 MB, free: 2.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.1485, allocations: 0 / 493 MB, free: 2.297 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007938/0.1493, allocations: 472.6 kB / 493.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1494, allocations: 15.89 kB / 493.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.1494, allocations: 20.69 kB / 493.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1498, allocations: 231.9 kB / 493.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1498, allocations: 4.375 kB / 493.7 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1499, allocations: 12.12 kB / 493.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1501, allocations: 108.2 kB / 493.8 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1501, allocations: 0 / 493.8 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1502, allocations: 8 kB / 493.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1502, allocations: 0 / 493.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1503, allocations: 51.91 kB / 493.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.1509, allocations: 0.5009 MB / 494.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.1512, allocations: 90.67 kB / 494.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.554e-05/0.1514, allocations: 40.77 kB / 494.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1514, allocations: 4 kB / 494.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.1516, allocations: 83.31 kB / 494.6 MB, free: 500 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1516, allocations: 4 kB / 494.6 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000387/0.152, allocations: 145.4 kB / 494.8 MB, free: 344 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.152, allocations: 55.34 kB / 494.8 MB, free: 276 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1522, allocations: 187.5 kB / 495 MB, free: 76 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1522, allocations: 25.7 kB / 495 MB, free: 44 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.1523, allocations: 116 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1524, allocations: 31.55 kB / 495.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1524, allocations: 33.7 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1526, allocations: 326.8 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1527, allocations: 32.11 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1528, allocations: 60.27 kB / 495.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.153, allocations: 104.5 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.153, allocations: 0 / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002552/0.1533, allocations: 137.3 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1533, allocations: 8.125 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1533, allocations: 0 / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1533, allocations: 4 kB / 495.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.1534, allocations: 23.92 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1534, allocations: 4 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.1535, allocations: 11.98 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1535, allocations: 4 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.00011/0.1536, allocations: 133.7 kB / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1537, allocations: 19.81 kB / 496 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.1537, allocations: 17.39 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1537, allocations: 3.938 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1537, allocations: 0 / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1538, allocations: 4 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1539, allocations: 213.5 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.154, allocations: 0 / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.154, allocations: 15.98 kB / 496.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1541, allocations: 0 / 496.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1541, allocations: 8 kB / 496.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1541, allocations: 3.938 kB / 496.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1541, allocations: 7.938 kB / 496.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.1545, allocations: 188.9 kB / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1545, allocations: 88.95 kB / 496.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1546, allocations: 3.938 kB / 496.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-05/0.1546, allocations: 11.94 kB / 496.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1547, allocations: 8.047 kB / 496.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1547, allocations: 8 kB / 496.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1548, allocations: 137.2 kB / 496.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1548, allocations: 0 / 496.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1551, allocations: 24 kB / 496.8 MB, free: 14.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009557/0.156, allocations: 411.3 kB / 497.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.1563, allocations: 91.95 kB / 497.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1563, allocations: 0 / 497.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.957e-05/0.1564, allocations: 35.98 kB / 497.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1568, allocations: 43.52 kB / 497.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.1573, allocations: 267.9 kB / 497.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1577, allocations: 0.7085 MB / 498.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.1577, allocations: 17.42 kB / 498.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.1578, allocations: 27.36 kB / 498.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1578, allocations: 0 / 498.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of Templates: time 0.00506/0.1629, allocations: 1.877 MB / 0.4885 GB, free: 10.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)