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.001384/0.001384, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001623/0.001623, allocations: 170 kB / 24.82 MB, free: 9.254 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.9639/0.9639, allocations: 177 MB / 205.1 MB, free: 5.492 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.3094/0.3094, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.343e-06/1.343e-06, allocations: 0 / 379.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.342e-05, allocations: 2.312 kB / 379.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0009369/0.0009503, allocations: 0.5138 MB / 379.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.001907, allocations: 0.7332 MB / 380.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.351e-05/0.001921, allocations: 0 / 380.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.608e-06/0.00193, allocations: 0 / 380.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.001936, allocations: 0 / 380.4 MB, free: 0.6211 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.001231/0.003167, allocations: 0.6456 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.826e-05/0.003205, allocations: 4 kB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.803e-05/0.003233, allocations: 3.984 kB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.003257, allocations: 3.984 kB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.515e-05/0.003272, allocations: 0 / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.003278, allocations: 0 / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.003762, allocations: 419 kB / 381.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.003769, allocations: 0 / 381.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.003781, allocations: 4 kB / 381.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.004135, allocations: 375 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004137, allocations: 0 / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004138, allocations: 0 / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.706e-06/0.00414, allocations: 0 / 381.9 MB, free: 15.18 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.0002407/0.004381, allocations: 413.6 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.004411, allocations: 8.031 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.004432, allocations: 4.875 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.36e-05/0.004476, allocations: 116.6 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.004482, allocations: 384 / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-06/0.004486, allocations: 384 / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.097e-05/0.004537, allocations: 59.95 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-06/0.004542, allocations: 4.125 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-06/0.004546, allocations: 384 / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.004549, allocations: 384 / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.383e-05/0.004563, allocations: 29.64 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.846e-05/0.004621, allocations: 93.27 kB / 382.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.189e-05/0.004653, allocations: 56.69 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.004666, allocations: 41.48 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.00467, allocations: 4 kB / 382.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.004695, allocations: 59.09 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.004696, allocations: 0 / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.004807, allocations: 118.8 kB / 382.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.004835, allocations: 81.05 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.62e-05/0.004871, allocations: 142.2 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.004878, allocations: 25.7 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.004904, allocations: 126.9 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.004915, allocations: 352 / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.004934, allocations: 23.5 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.005038, allocations: 0.4883 MB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.005052, allocations: 29.69 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.005064, allocations: 29.7 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.005096, allocations: 63.09 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.005097, allocations: 0 / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.497e-05/0.005142, allocations: 85.06 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.005162, allocations: 41.62 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005165, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.005171, allocations: 4.094 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.005172, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.005174, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.148e-06/0.005184, allocations: 4 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.005187, allocations: 0 / 384 MB, free: 12.76 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 6.11e-05/0.005249, allocations: 186.2 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.005254, allocations: 8 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-06/0.005262, allocations: 3 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.005263, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.005267, allocations: 3.984 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.005269, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.119e-05/0.00532, allocations: 109.1 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.00532, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.005323, allocations: 7.984 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.12e-07/0.005323, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.005327, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.005327, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-07/0.005328, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.88e-05/0.005396, allocations: 135.7 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-06/0.005399, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.005407, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-06/0.005412, allocations: 4.031 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-06/0.00542, allocations: 4 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/0.005421, allocations: 4 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.708e-05/0.005448, allocations: 119.2 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.005448, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.005677, allocations: 87.72 kB / 384.7 MB, free: 12.03 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.0003231/0.006, allocations: 235.6 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.006074, allocations: 118.5 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006075, allocations: 0 / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.006105, allocations: 96.78 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.813e-05/0.006183, allocations: 18.53 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001081/0.006291, allocations: 109.7 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.219e-05/0.006314, allocations: 55.34 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.349e-06/0.006318, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.006346, allocations: 70.2 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.006347, allocations: 3.938 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003273/0.009619, allocations: 2.35 MB / 387.7 MB, free: 8.875 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.834759413264692]