Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 95.95 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 200.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 63.46 MB / 481.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0006722/0.1255, allocations: 213.2 kB / 481.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1267, allocations: 0.726 MB / 482.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.141e-05/0.1267, allocations: 0 / 482.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.089e-05/0.1267, allocations: 0 / 482.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.359e-06/0.1267, allocations: 0 / 482.3 MB, free: 4.477 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661: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.001292/0.128, allocations: 0.537 MB / 482.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.896e-05/0.1281, allocations: 0 / 482.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.1281, allocations: 4 kB / 482.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.1281, allocations: 3.984 kB / 482.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.735e-05/0.1282, allocations: 0 / 482.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.1282, allocations: 4 kB / 482.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.1287, allocations: 343.4 kB / 483.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-06/0.1287, allocations: 0 / 483.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.1288, allocations: 25.7 kB / 483.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.1291, allocations: 243.6 kB / 483.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1291, allocations: 0 / 483.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1291, allocations: 0 / 483.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1291, allocations: 0 / 483.5 MB, free: 3.324 MB / 350.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.0003689/0.1295, allocations: 393 kB / 483.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1295, allocations: 12.03 kB / 483.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.1296, allocations: 3.938 kB / 483.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.1297, allocations: 167 kB / 484 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1297, allocations: 0 / 484 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.1297, allocations: 0 / 484 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.906e-05/0.1298, allocations: 29.69 kB / 484.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.1298, allocations: 4 kB / 484.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1298, allocations: 0 / 484.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1298, allocations: 0 / 484.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.1298, allocations: 7.938 kB / 484.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.1299, allocations: 149.6 kB / 484.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.427e-05/0.13, allocations: 22.61 kB / 484.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.13, allocations: 0 / 484.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.13, allocations: 60.25 kB / 484.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.13, allocations: 0 / 484.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.1302, allocations: 63.41 kB / 484.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1302, allocations: 81.23 kB / 484.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.273e-05/0.1303, allocations: 89.86 kB / 484.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1303, allocations: 33.7 kB / 484.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.1303, allocations: 80.14 kB / 484.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.1303, allocations: 0 / 484.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.1303, allocations: 0 / 484.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1305, allocations: 314.8 kB / 484.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.1305, allocations: 0 / 484.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.1305, allocations: 4 kB / 484.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.1305, allocations: 29.77 kB / 485 MB, free: 1.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1305, allocations: 0 / 485 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.781e-05/0.1306, allocations: 63.36 kB / 485 MB, free: 1.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.1306, allocations: 41.62 kB / 485.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1306, allocations: 0 / 485.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.1306, allocations: 0 / 485.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.1307, allocations: 0 / 485.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1307, allocations: 7.938 kB / 485.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.1307, allocations: 0 / 485.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1307, allocations: 32 / 485.1 MB, free: 1.445 MB / 350.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.525e-05/0.1308, allocations: 135.5 kB / 485.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.1308, allocations: 11.94 kB / 485.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-06/0.1308, allocations: 3.125 kB / 485.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.1308, allocations: 0 / 485.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1308, allocations: 3.984 kB / 485.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1308, allocations: 0 / 485.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.967e-05/0.1309, allocations: 145.7 kB / 485.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1309, allocations: 0 / 485.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1309, allocations: 3.938 kB / 485.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1309, allocations: 7.953 kB / 485.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1309, allocations: 0 / 485.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1309, allocations: 0 / 485.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1309, allocations: 0 / 485.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.822e-05/0.131, allocations: 94.77 kB / 485.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.1311, allocations: 77.11 kB / 485.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1311, allocations: 3.953 kB / 485.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.1311, allocations: 12.02 kB / 485.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.1311, allocations: 4 kB / 485.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1311, allocations: 0 / 485.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.117e-05/0.1312, allocations: 75.28 kB / 485.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1312, allocations: 0 / 485.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1315, allocations: 75.98 kB / 485.7 MB, free: 0.6992 MB / 350.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.0004453/0.1319, allocations: 230.3 kB / 485.9 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.132, allocations: 63.41 kB / 486 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.132, allocations: 0 / 486 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.1321, allocations: 55.41 kB / 486.1 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.047e-05/0.1321, allocations: 0 / 486.1 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001313/0.1323, allocations: 86.62 kB / 486.1 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1325, allocations: 0.6692 MB / 486.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.1325, allocations: 4 kB / 486.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-06/0.1325, allocations: 11.38 kB / 486.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1325, allocations: 4.125 kB / 486.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Templates: time 0.004136/0.1367, allocations: 1.869 MB / 488.7 MB, free: 13.63 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1)