Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001526, 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.002218/0.002219, allocations: 193.1 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.752/1.752, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.3716/0.3716, allocations: 38 MB / 307.8 MB, free: 10.02 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.001646/0.001646, allocations: 75.89 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1488, allocations: 56.47 MB / 431.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00402/0.1529, allocations: 1.673 MB / 433.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1547, allocations: 0.8052 MB / 434.2 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.1548, allocations: 0 / 434.2 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.1553, allocations: 43.81 kB / 434.2 MB, free: 4.109 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.0002685/0.1555, allocations: 55.7 kB / 434.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1558, allocations: 79.75 kB / 434.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.156, allocations: 95.7 kB / 434.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1562, allocations: 16.16 kB / 434.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.1563, allocations: 43.78 kB / 434.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.1564, allocations: 23.86 kB / 434.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1564, allocations: 4 kB / 434.6 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1565, allocations: 51.97 kB / 434.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.1566, allocations: 19.86 kB / 434.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.1567, allocations: 35.78 kB / 434.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1569, allocations: 115.9 kB / 434.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1569, allocations: 0 / 434.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1569, allocations: 0 / 434.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1569, allocations: 0 / 434.8 MB, free: 3.578 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.0006152/0.1575, allocations: 407 kB / 435.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1576, allocations: 11.89 kB / 435.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1576, allocations: 16.75 kB / 435.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1579, allocations: 216 kB / 435.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1579, allocations: 384 / 435.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.158, allocations: 8.125 kB / 435.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1581, allocations: 53.67 kB / 435.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1581, allocations: 0 / 435.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1582, allocations: 3.984 kB / 435.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1582, allocations: 0 / 435.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.1582, allocations: 20 kB / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1587, allocations: 288.9 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1589, allocations: 54.62 kB / 435.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.159, allocations: 20.84 kB / 435.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.159, allocations: 0 / 435.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.1593, allocations: 71.39 kB / 435.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1593, allocations: 0 / 435.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005717/0.1598, allocations: 177.2 kB / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1599, allocations: 51.41 kB / 436.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1601, allocations: 182.2 kB / 436.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.1601, allocations: 29.69 kB / 436.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.1602, allocations: 100.1 kB / 436.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1602, allocations: 35.62 kB / 436.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1603, allocations: 25.66 kB / 436.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1604, allocations: 334.8 kB / 436.8 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.1605, allocations: 15.98 kB / 436.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.1606, allocations: 41.64 kB / 436.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1607, allocations: 53.72 kB / 436.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1607, allocations: 7.984 kB / 436.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.1609, allocations: 101.4 kB / 437 MB, free: 1.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1609, allocations: 4 kB / 437.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1609, allocations: 0 / 437.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.161, allocations: 4 kB / 437.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.1611, allocations: 15.98 kB / 437.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1611, allocations: 8.078 kB / 437.1 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.1611, allocations: 11.94 kB / 437.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1612, allocations: 0 / 437.1 MB, free: 1.02 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 ($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.0001043/0.1613, allocations: 133.9 kB / 437.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.1613, allocations: 7.906 kB / 437.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.1613, allocations: 12.72 kB / 437.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1614, allocations: 0 / 437.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1614, allocations: 0 / 437.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1614, allocations: 3.938 kB / 437.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.1618, allocations: 391.3 kB / 437.6 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1618, allocations: 4.031 kB / 437.6 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.1619, allocations: 12 kB / 437.6 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1619, allocations: 0 / 437.6 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1619, allocations: 7.938 kB / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1619, allocations: 0 / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1619, allocations: 0 / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1622, allocations: 200.1 kB / 437.8 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.1622, allocations: 97 kB / 437.9 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1623, allocations: 7.922 kB / 437.9 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.1623, allocations: 4 kB / 438 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1624, allocations: 8.359 kB / 438 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1624, allocations: 4 kB / 438 MB, free: 40 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1626, allocations: 144.1 kB / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1626, allocations: 0 / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1628, allocations: 27.98 kB / 438.1 MB, free: 15.87 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.001105/0.164, allocations: 473.2 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1642, allocations: 63.89 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1642, allocations: 0 / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.1643, allocations: 36 kB / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1647, allocations: 27.83 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.1652, allocations: 219.3 kB / 438.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1655, allocations: 0.7041 MB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.195e-05/0.1656, allocations: 21.17 kB / 439.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.1656, allocations: 15.44 kB / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1656, allocations: 0 / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of Templates: time 0.005074/0.1707, allocations: 1.692 MB / 441.4 MB, free: 12.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)