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.001225/0.001225, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001434/0.001434, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9322/0.9322, allocations: 177 MB / 205.2 MB, free: 5.051 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.2924/0.2924, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 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.283e-06/1.283e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.58e-05, allocations: 5.406 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0009597/0.0009755, allocations: 0.4905 MB / 326.4 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002023, allocations: 0.7462 MB / 327.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.002039, allocations: 0 / 327.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.002052, allocations: 3.938 kB / 327.1 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.112e-06/0.002058, allocations: 0 / 327.1 MB, free: 5.922 MB / 298.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.001362/0.003421, allocations: 0.6613 MB / 327.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.48e-05/0.003455, allocations: 0 / 327.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.003488, allocations: 4.75 kB / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.607e-05/0.003514, allocations: 4 kB / 327.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.334e-05/0.003537, allocations: 0 / 327.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.003544, allocations: 0 / 327.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.004094, allocations: 415 kB / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.004101, allocations: 0 / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.099e-05/0.004112, allocations: 0 / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.004472, allocations: 382.9 kB / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.004473, allocations: 0 / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004473, allocations: 0 / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.004476, allocations: 0 / 328.6 MB, free: 4.469 MB / 298.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.0002328/0.004709, allocations: 293.9 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.004737, allocations: 12.03 kB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.004757, allocations: 0.9375 kB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.176e-05/0.004809, allocations: 105.8 kB / 329 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.004817, allocations: 4.375 kB / 329 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.004823, allocations: 384 / 329 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.807e-05/0.004881, allocations: 55.97 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.393e-06/0.004887, allocations: 4.172 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-06/0.004892, allocations: 384 / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.004896, allocations: 384 / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.441e-05/0.004911, allocations: 33.58 kB / 329.1 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.723e-05/0.004968, allocations: 65.05 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.005005, allocations: 44.31 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.005021, allocations: 38.55 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-06/0.005023, allocations: 0 / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.005053, allocations: 60.33 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.005053, allocations: 0 / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.692e-05/0.00515, allocations: 114.7 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.005181, allocations: 77.11 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.725e-05/0.005208, allocations: 89.86 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.005217, allocations: 29.83 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.667e-05/0.005233, allocations: 84.14 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.005247, allocations: 1.375 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.005268, allocations: 21.7 kB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.005342, allocations: 314.8 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.005354, allocations: 25.7 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.005366, allocations: 29.7 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.005397, allocations: 56.27 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.005399, allocations: 0 / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.284e-05/0.005442, allocations: 93.03 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.005464, allocations: 35.05 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.005467, allocations: 0 / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.005476, allocations: 3.938 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-06/0.00548, allocations: 4 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.005485, allocations: 0 / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.005495, allocations: 3.938 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.0055, allocations: 0 / 330.2 MB, free: 2.547 MB / 298.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.323e-05/0.005553, allocations: 143.5 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-06/0.005557, allocations: 0 / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-06/0.005563, allocations: 3 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.005564, allocations: 4 kB / 330.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005565, allocations: 0 / 330.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005567, allocations: 4 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.913e-05/0.005606, allocations: 65.83 kB / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.005607, allocations: 0 / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-07/0.005607, allocations: 0 / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.005607, allocations: 0 / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.005613, allocations: 11.98 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.005614, allocations: 0 / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005614, allocations: 3.938 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.274e-05/0.005667, allocations: 112.5 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-06/0.005672, allocations: 8.328 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.005681, allocations: 4 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-06/0.005685, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-06/0.005693, allocations: 3.984 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.005695, allocations: 0 / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.468e-06/0.005699, allocations: 4.859 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005699, allocations: 0 / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.005911, allocations: 83.73 kB / 330.7 MB, free: 2.039 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.0003507/0.006262, allocations: 244.1 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.391e-05/0.006336, allocations: 115.6 kB / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.006338, allocations: 0 / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.633e-05/0.006364, allocations: 89.95 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.805e-05/0.006402, allocations: 7.938 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001174/0.00652, allocations: 108.9 kB / 331.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.251e-05/0.006542, allocations: 51.36 kB / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.519e-06/0.006547, allocations: 0 / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.006575, allocations: 63.48 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006576, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of Templates: time 0.003409/0.009985, allocations: 2.31 MB / 333.7 MB, free: 14.97 MB / 314.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: 2.8493897202424705]