Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3331/0.3331, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.254e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001601/0.001634, allocations: 496.1 kB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.004236, allocations: 1.568 MB / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.004253, allocations: 0 / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.004266, allocations: 0 / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.72e-06/0.004272, allocations: 0 / 379.3 MB, free: 0.8945 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.001098/0.00537, allocations: 295 kB / 379.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.132e-05/0.005421, allocations: 8 kB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.005459, allocations: 3.984 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.005484, allocations: 0 / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.005509, allocations: 7.984 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.005516, allocations: 0 / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007769/0.006293, allocations: 427 kB / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.006303, allocations: 0 / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.006332, allocations: 0 / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.006894, allocations: 327.1 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.006898, allocations: 0 / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006899, allocations: 0 / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.006905, allocations: 0 / 380.4 MB, free: 15.85 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.0004397/0.007344, allocations: 291.8 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.007394, allocations: 12.03 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.007451, allocations: 4.938 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.007557, allocations: 105.8 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.007571, allocations: 384 / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.007584, allocations: 4.375 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.007706, allocations: 55.97 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.007715, allocations: 192 / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.007725, allocations: 384 / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.007734, allocations: 7.938 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/0.007773, allocations: 25.7 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.00792, allocations: 97.27 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.008009, allocations: 56.23 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.008049, allocations: 34.56 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.008061, allocations: 4.062 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/0.008123, allocations: 56.27 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.008124, allocations: 0 / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002562/0.00838, allocations: 126.7 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.008454, allocations: 81.05 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.008519, allocations: 93.86 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.00854, allocations: 25.7 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.008585, allocations: 80.14 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.008599, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.008633, allocations: 13.72 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.008813, allocations: 310.8 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.008842, allocations: 29.7 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.00887, allocations: 33.81 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.702e-05/0.008937, allocations: 60.33 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008939, allocations: 4 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.00904, allocations: 89.05 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.009081, allocations: 37.69 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.009085, allocations: 0 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.009103, allocations: 0 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.009103, allocations: 0 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.009112, allocations: 3.938 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.009129, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.009136, allocations: 8.031 kB / 382.1 MB, free: 13.86 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.0001076/0.009244, allocations: 131.5 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.009439, allocations: 7.953 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-06/0.009448, allocations: 3 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009451, allocations: 3.984 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009455, allocations: 0 / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.00946, allocations: 3.938 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.009564, allocations: 101.3 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.009567, allocations: 4 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.009567, allocations: 0 / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.009568, allocations: 4 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.009575, allocations: 0 / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.009576, allocations: 3.938 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.009579, allocations: 3.984 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.009739, allocations: 128.4 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-06/0.009743, allocations: 0 / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.009756, allocations: 0 / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.009764, allocations: 0 / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.009788, allocations: 11.98 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.009791, allocations: 0 / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.009839, allocations: 79.22 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009839, allocations: 4.031 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.01016, allocations: 59.81 kB / 382.6 MB, free: 13.24 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.0005582/0.01072, allocations: 195.3 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.01088, allocations: 114.8 kB / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.01088, allocations: 0 / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.01095, allocations: 85.05 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.01108, allocations: 3.984 kB / 383 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.01133, allocations: 108 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.91e-05/0.01139, allocations: 55.36 kB / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.172e-06/0.01139, allocations: 4.125 kB / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.01141, allocations: 8.5 kB / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01141, allocations: 0 / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.004735/0.01614, allocations: 1.31 MB / 384.5 MB, free: 11.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.673246797989123]