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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.003008, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002887, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9858/0.9858, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08817/1.074, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2558/0.2558, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.2797, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.7 MB " [Timeout remaining time 180] 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=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.912e-05, allocations: 2.312 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001185/0.001204, allocations: 0.5426 MB / 294.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.002184, allocations: 0.7543 MB / 295.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.107e-05/0.002195, allocations: 0 / 295.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.166e-06/0.002199, allocations: 0 / 295.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.81e-07/0.002199, allocations: 0 / 295.1 MB, free: 3.914 MB / 282.7 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.001033/0.003233, allocations: 0.6339 MB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.003278, allocations: 11.98 kB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.489e-05/0.003303, allocations: 3.984 kB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.003326, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.003343, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.003349, allocations: 7.938 kB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.003843, allocations: 407.2 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.00385, allocations: 4 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.003863, allocations: 7.984 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.004183, allocations: 319.2 kB / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.004198, allocations: 0 / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004199, allocations: 0 / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.004216, allocations: 4 kB / 296.5 MB, free: 2.527 MB / 282.7 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.0002995/0.004516, allocations: 305.9 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.004544, allocations: 8.922 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.00457, allocations: 0.9375 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.019e-05/0.00462, allocations: 109.7 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.004632, allocations: 12.34 kB / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-06/0.004636, allocations: 384 / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.119e-05/0.004698, allocations: 55.97 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.004703, allocations: 192 / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-06/0.004707, allocations: 384 / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.004712, allocations: 384 / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.004729, allocations: 33.64 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.349e-05/0.004782, allocations: 53.05 kB / 297.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.523e-05/0.004818, allocations: 52.23 kB / 297.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.004833, allocations: 42.56 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-06/0.004837, allocations: 4 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.004864, allocations: 56.27 kB / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.004864, allocations: 0 / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.087e-05/0.004955, allocations: 114.8 kB / 297.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.004984, allocations: 77.11 kB / 297.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.727e-05/0.005011, allocations: 89.86 kB / 297.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.005018, allocations: 29.64 kB / 297.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.005037, allocations: 84.14 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.005051, allocations: 4.625 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.005072, allocations: 13.72 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.005141, allocations: 326.9 kB / 298 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.005154, allocations: 25.7 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.005171, allocations: 33.69 kB / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.005208, allocations: 64.27 kB / 298.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.00521, allocations: 0 / 298.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.257e-05/0.005252, allocations: 85.09 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.005281, allocations: 29.7 kB / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005285, allocations: 4 kB / 298.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.005292, allocations: 0 / 298.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-06/0.005297, allocations: 8.031 kB / 298.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.005299, allocations: 4 kB / 298.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.005312, allocations: 0 / 298.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.005317, allocations: 0 / 298.2 MB, free: 0.5781 MB / 282.7 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 5.083e-05/0.005367, allocations: 139.5 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-06/0.005371, allocations: 0 / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-06/0.005379, allocations: 6.984 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.00538, allocations: 4 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005381, allocations: 0 / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005384, allocations: 0 / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.851e-05/0.005422, allocations: 61.84 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-07/0.005423, allocations: 4 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.005423, allocations: 0 / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-06/0.005426, allocations: 4 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.005426, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.00543, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00543, allocations: 3.938 kB / 298.4 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005431, allocations: 0 / 298.4 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.675e-05/0.005488, allocations: 124.4 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.005496, allocations: 0 / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-06/0.005501, allocations: 3.984 kB / 298.6 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-06/0.005507, allocations: 4.031 kB / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.005509, allocations: 4 kB / 298.6 MB, free: 168 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.278e-06/0.005513, allocations: 4.859 kB / 298.6 MB, free: 160 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005513, allocations: 0 / 298.6 MB, free: 160 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.005689, allocations: 83.73 kB / 298.7 MB, free: 76 kB / 282.7 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.000399/0.006088, allocations: 232.9 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.587e-05/0.006183, allocations: 123.7 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.006187, allocations: 4.062 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.006214, allocations: 85.97 kB / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.415e-05/0.006258, allocations: 7.938 kB / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000146/0.006404, allocations: 113.3 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.64e-05/0.006431, allocations: 51.36 kB / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.999e-06/0.006436, allocations: 0 / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.006466, allocations: 55.36 kB / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006466, allocations: 0 / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of Templates: time 0.003713/0.01018, allocations: 2.329 MB / 301.6 MB, free: 13 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7755074938759208]