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.001115/0.001116, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007499/0.007499, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.628/1.628, allocations: 205.4 MB / 222.4 MB, free: 5.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.3984/0.3984, allocations: 39.99 MB / 310.7 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.000567/0.000567, allocations: 16.47 kB / 379.4 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1481, allocations: 57.96 MB / 437.4 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0006487/0.1488, allocations: 222.1 kB / 437.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.1515, allocations: 1.995 MB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.215e-05/0.1515, allocations: 0 / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.1515, allocations: 0 / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.1516, allocations: 0 / 439.6 MB, free: 15.7 MB / 382.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.00171/0.1533, allocations: 0.6349 MB / 440.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.365e-05/0.1533, allocations: 8 kB / 440.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.1534, allocations: 3.984 kB / 440.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.1534, allocations: 4 kB / 440.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.179e-05/0.1534, allocations: 11.86 kB / 440.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-06/0.1534, allocations: 0 / 440.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1545, allocations: 0.6317 MB / 440.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-06/0.1545, allocations: 0 / 440.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1545, allocations: 29.69 kB / 440.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006475/0.1552, allocations: 0.5691 MB / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1552, allocations: 4 kB / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1552, allocations: 0 / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.574e-06/0.1552, allocations: 0 / 441.5 MB, free: 13.8 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.0004311/0.1557, allocations: 393.2 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1557, allocations: 8.031 kB / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1557, allocations: 4.922 kB / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.815e-05/0.1558, allocations: 160.4 kB / 442.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1559, allocations: 384 / 442.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1559, allocations: 4.375 kB / 442.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.107e-05/0.156, allocations: 38.02 kB / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.156, allocations: 0 / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.156, allocations: 0 / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.156, allocations: 0 / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.156, allocations: 11.94 kB / 442.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.1562, allocations: 153.6 kB / 442.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.809e-05/0.1562, allocations: 22.59 kB / 442.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.1562, allocations: 8.859 kB / 442.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.1563, allocations: 0 / 442.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.1563, allocations: 64.2 kB / 442.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1563, allocations: 0 / 442.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.1565, allocations: 67.39 kB / 442.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.1565, allocations: 77.11 kB / 442.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.702e-05/0.1566, allocations: 89.86 kB / 442.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.1566, allocations: 29.7 kB / 442.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.1566, allocations: 84.27 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1567, allocations: 4 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.1567, allocations: 9.719 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1568, allocations: 310.8 kB / 443 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-06/0.1568, allocations: 0 / 443 MB, free: 12.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.1568, allocations: 4 kB / 443 MB, free: 12.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.1569, allocations: 60.25 kB / 443.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1569, allocations: 4 kB / 443.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.867e-05/0.1569, allocations: 67.41 kB / 443.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.157, allocations: 37.64 kB / 443.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.157, allocations: 0 / 443.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.157, allocations: 0 / 443.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.157, allocations: 3.938 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.157, allocations: 3.984 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.1571, allocations: 0 / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1571, allocations: 0 / 443.2 MB, free: 11.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/0.1572, allocations: 139.9 kB / 443.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-06/0.1572, allocations: 3.938 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.1572, allocations: 3.125 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1572, allocations: 0 / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1572, allocations: 4 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1572, allocations: 0 / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.355e-05/0.1573, allocations: 145.7 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1573, allocations: 0 / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1573, allocations: 0 / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1573, allocations: 3.938 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1573, allocations: 7.938 kB / 443.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1573, allocations: 4 kB / 443.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1574, allocations: 0 / 443.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.292e-05/0.1574, allocations: 94.77 kB / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1575, allocations: 85.05 kB / 443.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1575, allocations: 3.938 kB / 443.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.1575, allocations: 0 / 443.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.1575, allocations: 0 / 443.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1576, allocations: 4.031 kB / 443.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.455e-05/0.1576, allocations: 75.28 kB / 443.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 4 kB / 443.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.158, allocations: 128 kB / 443.9 MB, free: 11.04 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 (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.0006521/0.1586, allocations: 262.8 kB / 444.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.1587, allocations: 59.41 kB / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1587, allocations: 0 / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.1588, allocations: 67.39 kB / 444.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.1589, allocations: 3.938 kB / 444.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.1591, allocations: 78.7 kB / 444.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1594, allocations: 0.673 MB / 445 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.989e-06/0.1594, allocations: 0 / 445 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-06/0.1594, allocations: 7.438 kB / 445 MB, free: 9.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1594, allocations: 4 kB / 445 MB, free: 9.816 MB / 382.1 MB Notification: Performance of Templates: time 0.006805/0.1662, allocations: 3.757 MB / 448.8 MB, free: 6.055 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: