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.0009785/0.0009785, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002266, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007018/0.0007018, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009696/0.001671, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9451/0.9451, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09379/1.039, allocations: 53.86 MB / 243.9 MB, free: 14.88 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.2562/0.2562, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02189/0.2781, allocations: 13.24 MB / 292.8 MB, free: 6.422 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 1.363e-06/1.363e-06, allocations: 0 / 294.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.144e-05, allocations: 2.312 kB / 294.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0008856/0.000897, allocations: 0.5487 MB / 294.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007815/0.001679, allocations: 0.7562 MB / 295.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.113e-05/0.00169, allocations: 0 / 295.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.216e-06/0.001693, allocations: 7.938 kB / 295.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.71e-07/0.001694, allocations: 0 / 295.4 MB, free: 3.828 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.001024/0.002718, allocations: 0.6339 MB / 296 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.763e-05/0.002775, allocations: 3.984 kB / 296 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.00281, allocations: 4 kB / 296 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.002843, allocations: 3.938 kB / 296 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.002861, allocations: 0 / 296 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.002868, allocations: 0 / 296 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.003414, allocations: 411.2 kB / 296.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.003423, allocations: 0 / 296.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.082e-05/0.003434, allocations: 3.938 kB / 296.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.003737, allocations: 327.2 kB / 296.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.003746, allocations: 4 kB / 296.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003746, allocations: 0 / 296.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.003755, allocations: 0 / 296.8 MB, free: 2.449 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.0002542/0.004009, allocations: 313.9 kB / 297.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.004035, allocations: 8.922 kB / 297.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.00406, allocations: 0.9375 kB / 297.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.237e-05/0.004123, allocations: 109.7 kB / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.004131, allocations: 384 / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.004139, allocations: 384 / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.8e-05/0.004197, allocations: 55.97 kB / 297.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.004203, allocations: 4.188 kB / 297.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.004208, allocations: 384 / 297.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004212, allocations: 384 / 297.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.004228, allocations: 37.62 kB / 297.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.211e-05/0.004281, allocations: 53.05 kB / 297.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.004321, allocations: 48.25 kB / 297.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.004335, allocations: 34.56 kB / 297.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-06/0.004338, allocations: 0 / 297.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.004368, allocations: 64.33 kB / 297.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.21e-07/0.004368, allocations: 0 / 297.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001083/0.004476, allocations: 118.8 kB / 297.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.004522, allocations: 154.2 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.714e-05/0.00455, allocations: 101.8 kB / 297.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.004558, allocations: 29.69 kB / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.004608, allocations: 80.14 kB / 298 MB, free: 1.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.004627, allocations: 8.625 kB / 298 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.004646, allocations: 9.719 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.004709, allocations: 318.8 kB / 298.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.00472, allocations: 25.7 kB / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-06/0.00473, allocations: 25.7 kB / 298.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.004765, allocations: 68.44 kB / 298.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004767, allocations: 0 / 298.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.055e-05/0.004807, allocations: 89.11 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.004836, allocations: 29.7 kB / 298.5 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.004839, allocations: 0 / 298.5 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.004849, allocations: 3.938 kB / 298.5 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.004851, allocations: 4 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.004855, allocations: 7.922 kB / 298.5 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.004868, allocations: 0 / 298.5 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.004874, allocations: 0 / 298.5 MB, free: 416 kB / 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 4.837e-05/0.004922, allocations: 143.5 kB / 298.7 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-06/0.004925, allocations: 0 / 298.7 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-06/0.004931, allocations: 3 kB / 298.7 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004933, allocations: 3.984 kB / 298.7 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-07/0.004934, allocations: 0 / 298.7 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.004936, allocations: 4 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.623e-05/0.004972, allocations: 65.83 kB / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.004972, allocations: 0 / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-07/0.004973, allocations: 0 / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-06/0.004976, allocations: 4 kB / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.004977, allocations: 4 kB / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.00498, allocations: 0 / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00498, allocations: 0 / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.004982, allocations: 3.984 kB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.005148, allocations: 124.4 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.005158, allocations: 0 / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.005167, allocations: 4 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-06/0.005174, allocations: 0 / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.005176, allocations: 0 / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.552e-06/0.005182, allocations: 8.859 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005183, allocations: 4.031 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.005383, allocations: 83.67 kB / 299 MB, free: 15.89 MB / 298.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.0003772/0.00576, allocations: 231.8 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.408e-05/0.005844, allocations: 115.7 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.005848, allocations: 4 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.005877, allocations: 93.94 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.393e-05/0.005921, allocations: 8.125 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001304/0.006052, allocations: 113.4 kB / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.407e-05/0.006076, allocations: 51.36 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.258e-06/0.00608, allocations: 0 / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.006105, allocations: 55.31 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.006105, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Templates: time 0.003351/0.009456, allocations: 2.378 MB / 302 MB, free: 12.76 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.897883476689458]