Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 100.2 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.001032/0.001032, 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.863/1.863, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3852/0.3852, allocations: 40 MB / 310.4 MB, free: 9.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.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.0005748/0.0005751, allocations: 20 kB / 378.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1533, allocations: 57.96 MB / 436.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0005921/0.154, allocations: 212.4 kB / 437 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005786/0.1546, allocations: 238.6 kB / 437.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.1546, allocations: 0 / 437.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.548e-06/0.1546, allocations: 3.938 kB / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.1546, allocations: 0 / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1549, allocations: 43.88 kB / 437.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.638e-05/0.155, allocations: 3.938 kB / 437.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.155, allocations: 0 / 437.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.1551, allocations: 4 kB / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.512e-05/0.1551, allocations: 0 / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.1551, allocations: 0 / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1553, allocations: 39.97 kB / 437.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-06/0.1553, allocations: 0 / 437.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.1554, allocations: 25.7 kB / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1555, allocations: 47.88 kB / 437.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1555, allocations: 0 / 437.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1555, allocations: 4 kB / 437.4 MB, free: 2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1555, allocations: 0 / 437.4 MB, free: 2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003245/0.1558, allocations: 353.1 kB / 437.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1559, allocations: 8.031 kB / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1559, allocations: 0 / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.156, allocations: 163 kB / 437.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.156, allocations: 4 kB / 437.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.156, allocations: 0 / 437.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.1561, allocations: 33.69 kB / 437.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1562, allocations: 7.938 kB / 437.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1562, allocations: 0 / 437.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1562, allocations: 0 / 437.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.1562, allocations: 7.938 kB / 437.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.1563, allocations: 149.6 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.1564, allocations: 14.67 kB / 438.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.1564, allocations: 4 kB / 438.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.1565, allocations: 64.27 kB / 438.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.1565, allocations: 0 / 438.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001763/0.1566, allocations: 71.23 kB / 438.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1567, allocations: 77.11 kB / 438.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.46e-05/0.1567, allocations: 93.8 kB / 438.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1568, allocations: 25.7 kB / 438.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.1568, allocations: 80.14 kB / 438.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.1568, allocations: 4 kB / 438.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.1568, allocations: 0 / 438.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.157, allocations: 322.9 kB / 438.8 MB, free: 324 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.157, allocations: 3.984 kB / 438.8 MB, free: 320 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.157, allocations: 0 / 438.8 MB, free: 320 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.157, allocations: 29.7 kB / 438.9 MB, free: 284 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.157, allocations: 0 / 438.9 MB, free: 284 kB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.122e-05/0.1571, allocations: 59.34 kB / 438.9 MB, free: 212 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.1571, allocations: 33.7 kB / 438.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1572, allocations: 0 / 438.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1572, allocations: 8.078 kB / 439 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1572, allocations: 0 / 439 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1572, allocations: 0 / 439 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.1572, allocations: 0 / 439 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1572, allocations: 4 kB / 439 MB, free: 160 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.954e-05/0.1573, allocations: 143.5 kB / 439.1 MB, free: 0 / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.1573, allocations: 0 / 439.1 MB, free: 0 / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.272e-05/0.1574, allocations: 7.172 kB / 439.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1574, allocations: 0 / 439.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1574, allocations: 0 / 439.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1574, allocations: 4 kB / 439.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.605e-05/0.1575, allocations: 149.6 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1575, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1575, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1575, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1575, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1575, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1575, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1577, allocations: 98.77 kB / 439.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.1577, allocations: 81.06 kB / 439.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1577, allocations: 0 / 439.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.1578, allocations: 3.938 kB / 439.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.1578, allocations: 7.984 kB / 439.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.1578, allocations: 3.938 kB / 439.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.1578, allocations: 79.27 kB / 439.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1578, allocations: 0 / 439.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1581, allocations: 24 kB / 439.5 MB, free: 15.45 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004961/0.1586, allocations: 264.3 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.024e-05/0.1587, allocations: 63.41 kB / 439.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1587, allocations: 0 / 439.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.1587, allocations: 59.33 kB / 439.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.858e-05/0.1588, allocations: 8.125 kB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.159, allocations: 70.77 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1593, allocations: 0.677 MB / 440.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.921e-06/0.1593, allocations: 0 / 440.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-06/0.1593, allocations: 7.438 kB / 440.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1593, allocations: 0 / 440.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.0034/0.1627, allocations: 0.7768 MB / 441.5 MB, free: 13.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe 2>&1) Environment - environmentSimulation: