Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.001438/0.001438, allocations: 96.25 kB / 20.96 MB, free: 3.461 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.001689/0.001689, allocations: 156.9 kB / 24.27 MB, free: 164 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 1.481/1.481, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3506/0.3506, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.044e-05, allocations: 7.094 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001626/0.001656, allocations: 0.4958 MB / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.004348, allocations: 1.561 MB / 379.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.004367, allocations: 0 / 379.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.004382, allocations: 0 / 379.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.004389, allocations: 4 kB / 379.2 MB, free: 0.8477 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.005569, allocations: 295 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.005624, allocations: 4 kB / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.005661, allocations: 0 / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.005687, allocations: 0 / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.181e-05/0.005708, allocations: 4 kB / 379.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.005715, allocations: 0 / 379.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.006487, allocations: 431 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.006496, allocations: 0 / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.006522, allocations: 0 / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.007116, allocations: 323.1 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007119, allocations: 0 / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.007121, allocations: 0 / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.007125, allocations: 0 / 380.3 MB, free: 15.81 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.0004273/0.007552, allocations: 295.8 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.007594, allocations: 16.03 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.007635, allocations: 0.9375 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.007732, allocations: 105.8 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.007747, allocations: 4.375 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.007756, allocations: 4.375 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.007859, allocations: 51.97 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.007867, allocations: 192 / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.007874, allocations: 384 / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.007882, allocations: 7.938 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.007918, allocations: 33.64 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.008043, allocations: 97.31 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.008105, allocations: 52.25 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.008142, allocations: 34.56 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.008166, allocations: 8.047 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.008222, allocations: 56.27 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.008223, allocations: 0 / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002456/0.008468, allocations: 122.7 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.008536, allocations: 81.05 kB / 381.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.008596, allocations: 93.86 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.008616, allocations: 25.7 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.008659, allocations: 80.27 kB / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.008676, allocations: 4 kB / 381.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.008715, allocations: 17.72 kB / 381.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.008884, allocations: 310.8 kB / 381.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.008915, allocations: 29.69 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.008938, allocations: 29.7 kB / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/0.009012, allocations: 64.2 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009014, allocations: 4 kB / 381.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001117/0.009125, allocations: 85.09 kB / 381.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.009165, allocations: 33.8 kB / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.00917, allocations: 4 kB / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.009189, allocations: 0 / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.009189, allocations: 0 / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.009198, allocations: 3.938 kB / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.009214, allocations: 0 / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.00922, allocations: 4 kB / 382 MB, free: 13.81 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 0.0001041/0.009324, allocations: 131.5 kB / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.009341, allocations: 11.95 kB / 382.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.009352, allocations: 6.984 kB / 382.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.009353, allocations: 0 / 382.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.009357, allocations: 4 kB / 382.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.009364, allocations: 3.938 kB / 382.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.784e-05/0.009461, allocations: 101.3 kB / 382.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009462, allocations: 0 / 382.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.009463, allocations: 0 / 382.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009465, allocations: 0 / 382.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.009471, allocations: 3.938 kB / 382.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.009472, allocations: 3.938 kB / 382.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009473, allocations: 0 / 382.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.009616, allocations: 124.5 kB / 382.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-06/0.00962, allocations: 4.031 kB / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.009635, allocations: 4 kB / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.009647, allocations: 3.984 kB / 382.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.009666, allocations: 4 kB / 382.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.009668, allocations: 0 / 382.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.009712, allocations: 79.22 kB / 382.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009712, allocations: 0 / 382.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003422/0.01005, allocations: 63.8 kB / 382.5 MB, free: 13.2 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.0005249/0.01058, allocations: 194.8 kB / 382.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01072, allocations: 114.8 kB / 382.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01072, allocations: 4.062 kB / 382.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.01079, allocations: 85.09 kB / 382.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.01093, allocations: 4 kB / 382.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.01115, allocations: 104 kB / 383 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.794e-05/0.01121, allocations: 55.36 kB / 383.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.37e-06/0.01121, allocations: 0 / 383.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.01123, allocations: 8.5 kB / 383.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01123, allocations: 0 / 383.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Templates: time 0.004773/0.016, allocations: 1.319 MB / 384.4 MB, free: 11.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.683964308933355]