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.001377/0.001377, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001263/0.001263, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.8974/0.8974, allocations: 177 MB / 204.8 MB, free: 5.574 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.2451/0.2451, allocations: 34.86 MB / 296.3 MB, free: 0.5586 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.493e-06/1.493e-06, allocations: 0 / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.354e-05, allocations: 4.703 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001452/0.001475, allocations: 0.5162 MB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.002697, allocations: 0.7449 MB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.44e-05/0.002711, allocations: 0 / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.002729, allocations: 0 / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.002735, allocations: 8 kB / 380 MB, free: 0.8438 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.002281/0.005016, allocations: 0.6456 MB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.407e-05/0.00506, allocations: 0 / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.018e-05/0.005091, allocations: 4 kB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.607e-05/0.005117, allocations: 4 kB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.632e-05/0.005133, allocations: 0 / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-06/0.005139, allocations: 0 / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.005784, allocations: 419 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.005792, allocations: 0 / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.005809, allocations: 0 / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.006318, allocations: 378.9 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006321, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006322, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.006326, allocations: 8 kB / 381.4 MB, free: 15.4 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.0003408/0.006667, allocations: 413.6 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.006703, allocations: 8.031 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.006739, allocations: 0.9375 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.919e-05/0.006808, allocations: 112.6 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.00682, allocations: 384 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.006828, allocations: 384 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.091e-05/0.006919, allocations: 55.97 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.006925, allocations: 192 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.006932, allocations: 384 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.00694, allocations: 384 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.601e-05/0.006966, allocations: 41.58 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.937e-05/0.007065, allocations: 112.6 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.293e-05/0.007118, allocations: 52.8 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.007139, allocations: 33.39 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-06/0.007144, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.007183, allocations: 63.16 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.007184, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001681/0.007352, allocations: 122.7 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.007395, allocations: 77.11 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.00744, allocations: 146.4 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.00745, allocations: 25.7 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.007486, allocations: 126.9 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.007501, allocations: 4.344 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.007528, allocations: 15.38 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.007652, allocations: 0.4883 MB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.007669, allocations: 33.69 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.007683, allocations: 25.7 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.007728, allocations: 63.09 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.007731, allocations: 4 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.594e-05/0.007807, allocations: 105 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.007832, allocations: 29.7 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.007837, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.007849, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.898e-06/0.007853, allocations: 4 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.007857, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.007871, allocations: 3.938 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007876, allocations: 3.938 kB / 383.6 MB, free: 12.95 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 8.35e-05/0.007959, allocations: 182.3 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.007967, allocations: 4.031 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.026e-05/0.007977, allocations: 6.984 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007979, allocations: 0 / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007982, allocations: 0 / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.007985, allocations: 4 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.29e-05/0.008047, allocations: 112.5 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008048, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.008049, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.008052, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.008059, allocations: 4 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00806, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.008062, allocations: 3.984 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.008163, allocations: 139.7 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-06/0.008168, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.008183, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-06/0.008191, allocations: 3.984 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.008204, allocations: 3.984 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.008206, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.029e-05/0.008237, allocations: 119.2 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008237, allocations: 0 / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.008604, allocations: 87.73 kB / 384.2 MB, free: 12.21 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.0005099/0.009114, allocations: 240.6 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.00922, allocations: 122.4 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009221, allocations: 3.938 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.00926, allocations: 92.8 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.009384, allocations: 4 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.00956, allocations: 113.6 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.009591, allocations: 51.36 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.26e-06/0.009597, allocations: 4.125 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.009608, allocations: 8.5 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009609, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of Templates: time 0.005667/0.01528, allocations: 2.511 MB / 387.4 MB, free: 8.957 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: 2.805923236068338]