Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.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.Math.TestVectors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008605/0.0008607, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008977/0.0008978, allocations: 168.7 kB / 15.95 MB, free: 204 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.655/1.655, 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.2+maint.om/package.mo): time 0.389/0.389, allocations: 40.01 MB / 310.4 MB, free: 9.984 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.0005937/0.0005937, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1574, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0007054/0.1582, allocations: 222.1 kB / 437 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.1613, allocations: 1.91 MB / 438.9 MB, free: 452 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.1613, allocations: 0 / 438.9 MB, free: 452 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1614, allocations: 3.938 kB / 438.9 MB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-06/0.1614, allocations: 0 / 438.9 MB, free: 448 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:611:3-680:14:writable] Warning: Pure function ‘ModelicaTest.Math.Vectors‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.1636, allocations: 0.5883 MB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.517e-05/0.1636, allocations: 7.984 kB / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.1637, allocations: 4 kB / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.877e-05/0.1637, allocations: 0 / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.147e-05/0.1637, allocations: 0 / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.1637, allocations: 3.938 kB / 439.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.165, allocations: 0.6239 MB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.165, allocations: 0 / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.1651, allocations: 25.7 kB / 440.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.1655, allocations: 399.3 kB / 440.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1656, allocations: 0 / 440.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1656, allocations: 7.938 kB / 440.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1656, allocations: 0 / 440.6 MB, free: 14.78 MB / 382.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.0004564/0.166, allocations: 401 kB / 441 MB, free: 14.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1661, allocations: 8.031 kB / 441 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1661, allocations: 4 kB / 441 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1663, allocations: 163.1 kB / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1663, allocations: 0 / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1663, allocations: 3.938 kB / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1664, allocations: 37.69 kB / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1664, allocations: 0 / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1664, allocations: 3.953 kB / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1665, allocations: 0 / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.1665, allocations: 0 / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.1666, allocations: 149.7 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.1667, allocations: 14.58 kB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.1667, allocations: 8.797 kB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1667, allocations: 7.984 kB / 441.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.1668, allocations: 60.36 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1668, allocations: 0 / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002008/0.167, allocations: 63.41 kB / 441.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1671, allocations: 81.06 kB / 441.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.1671, allocations: 89.86 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.1672, allocations: 29.64 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.1672, allocations: 84.12 kB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1673, allocations: 4.125 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-06/0.1673, allocations: 0 / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1674, allocations: 318.8 kB / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.1674, allocations: 3.938 kB / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.1674, allocations: 16 / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/0.1674, allocations: 29.7 kB / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1675, allocations: 0 / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.668e-05/0.1675, allocations: 59.41 kB / 442.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.1676, allocations: 41.78 kB / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1676, allocations: 0 / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1676, allocations: 0 / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.1676, allocations: 0 / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1676, allocations: 0 / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.1677, allocations: 3.953 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1677, allocations: 0 / 442.2 MB, free: 12.88 MB / 382.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 9.376e-05/0.1678, allocations: 135.8 kB / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.1678, allocations: 0 / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.1678, allocations: 7.125 kB / 442.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1678, allocations: 3.984 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1678, allocations: 4 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1678, allocations: 0 / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.168, allocations: 149.6 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.168, allocations: 3.938 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-06/0.168, allocations: 0 / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.168, allocations: 0 / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.168, allocations: 4 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.168, allocations: 0 / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.168, allocations: 0 / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.1681, allocations: 98.8 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.1682, allocations: 93.03 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1682, allocations: 3.984 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.1682, allocations: 0 / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1683, allocations: 0 / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1683, allocations: 0 / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.606e-05/0.1683, allocations: 79.22 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1683, allocations: 8.031 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004936/0.1688, allocations: 128 kB / 442.9 MB, free: 12.07 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.0007068/0.1696, allocations: 262.8 kB / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1697, allocations: 67.33 kB / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1697, allocations: 0 / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.1698, allocations: 55.41 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1699, allocations: 3.953 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.1701, allocations: 78.89 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1704, allocations: 0.6769 MB / 444 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.452e-06/0.1704, allocations: 0 / 444 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.1704, allocations: 7.438 kB / 444 MB, free: 10.85 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1704, allocations: 3.938 kB / 444 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Templates: time 0.008476/0.1789, allocations: 3.803 MB / 447.9 MB, free: 7.035 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe 2>&1) Environment - environmentSimulation: