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.001209/0.001209, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001269/0.001269, allocations: 166.3 kB / 24.99 MB, free: 8.801 MB / 18.57 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 1.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.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.2827/0.2827, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.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.803e-06/1.803e-06, allocations: 0 / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.848e-05, allocations: 8.641 kB / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001155/0.001183, allocations: 0.4969 MB / 379.2 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.0027, allocations: 0.7448 MB / 380 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.002731, allocations: 0 / 380 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.002749, allocations: 0 / 380 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.002756, allocations: 0 / 380 MB, free: 1.184 MB / 346.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.002189/0.004944, allocations: 0.6496 MB / 380.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.004993, allocations: 3.984 kB / 380.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.005029, allocations: 4 kB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.553e-05/0.005054, allocations: 0 / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.081e-05/0.005075, allocations: 0 / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.005083, allocations: 0 / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.005721, allocations: 415 kB / 381 MB, free: 120 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.005729, allocations: 0 / 381 MB, free: 120 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.005748, allocations: 0 / 381 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.006282, allocations: 379 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.006286, allocations: 0 / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.006288, allocations: 0 / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.006294, allocations: 0 / 381.4 MB, free: 15.75 MB / 362.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.000422/0.006716, allocations: 421.5 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.006768, allocations: 8.031 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.006813, allocations: 0.9375 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.006894, allocations: 112.6 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.006908, allocations: 4.359 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.006916, allocations: 384 / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.821e-05/0.007015, allocations: 55.97 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.007023, allocations: 4.125 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.007031, allocations: 384 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.007041, allocations: 384 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.007064, allocations: 33.62 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.00717, allocations: 112.6 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.007222, allocations: 52.77 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.007248, allocations: 41.48 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.007253, allocations: 0 / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.007294, allocations: 63.09 kB / 382.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.007296, allocations: 0 / 382.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002228/0.007518, allocations: 126.7 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.007566, allocations: 77.11 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/0.007624, allocations: 142.2 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.007635, allocations: 25.7 kB / 382.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.007682, allocations: 126.9 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.007699, allocations: 352 / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.00773, allocations: 23.48 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.007873, allocations: 0.4883 MB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.007902, allocations: 25.7 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.00792, allocations: 33.7 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.007981, allocations: 67.03 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007983, allocations: 0 / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.783e-05/0.008061, allocations: 96.98 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.008096, allocations: 29.7 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008101, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.008114, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-06/0.008116, allocations: 4.094 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.008124, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.008144, allocations: 11.88 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.008149, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.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 9.097e-05/0.00824, allocations: 186.3 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.008248, allocations: 4 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-06/0.008257, allocations: 3 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.008259, allocations: 0 / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.008261, allocations: 0 / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.008264, allocations: 0 / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.41e-05/0.008338, allocations: 116.6 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.008339, allocations: 3.938 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.008339, allocations: 0 / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.00834, allocations: 0 / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.008348, allocations: 0 / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.008351, allocations: 3.984 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.008353, allocations: 4 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.008453, allocations: 127.8 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-06/0.008458, allocations: 3.984 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.008471, allocations: 0 / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.008479, allocations: 32 / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.008491, allocations: 8 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.008493, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.008527, allocations: 119.2 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008527, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.008861, allocations: 83.73 kB / 384.2 MB, free: 12.55 MB / 362.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.0004661/0.009327, allocations: 250.5 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.009446, allocations: 126.4 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009448, allocations: 4.062 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.009481, allocations: 88.8 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.522e-05/0.009576, allocations: 4 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.009759, allocations: 113.6 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.179e-05/0.009791, allocations: 55.36 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.059e-06/0.009796, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.009807, allocations: 8.5 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.009808, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Templates: time 0.004183/0.01399, allocations: 1.987 MB / 386.8 MB, free: 9.816 MB / 362.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 -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: 3.2737149498425424]