Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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.0009951/0.0009951, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001092/0.001092, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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 0.9366/0.9366, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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.2703/0.2703, allocations: 34.26 MB / 296.1 MB, free: 0.6211 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.525e-05, allocations: 2.312 kB / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00119/0.001206, allocations: 0.5027 MB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.003704, allocations: 2.123 MB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.003722, allocations: 0 / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.003734, allocations: 0 / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.00374, allocations: 0 / 327.8 MB, free: 5.078 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.005454, allocations: 0.7752 MB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.005496, allocations: 3.984 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.005529, allocations: 4.625 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.005553, allocations: 0 / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.698e-05/0.00557, allocations: 4 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-06/0.005576, allocations: 0 / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.007257, allocations: 1.544 MB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.007265, allocations: 0 / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.195e-05/0.007277, allocations: 0 / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.009241, allocations: 1.883 MB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.009242, allocations: 0 / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.009243, allocations: 4 kB / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.009246, allocations: 0 / 332.1 MB, free: 0.8516 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.0005016/0.009748, allocations: 333.7 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.009778, allocations: 8.031 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.0098, allocations: 0.9375 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.487e-05/0.009855, allocations: 113.7 kB / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.009864, allocations: 384 / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.009872, allocations: 384 / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.188e-05/0.009934, allocations: 59.95 kB / 332.6 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.009941, allocations: 3.938 kB / 332.6 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.009946, allocations: 7.938 kB / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.009951, allocations: 0 / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.009966, allocations: 29.7 kB / 332.6 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.041e-05/0.01003, allocations: 57.03 kB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/0.01007, allocations: 48.25 kB / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.01008, allocations: 34.55 kB / 332.7 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-06/0.01009, allocations: 3.984 kB / 332.7 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.01013, allocations: 60.33 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.01013, allocations: 0 / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 9.92e-05/0.01023, allocations: 118.9 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.01026, allocations: 85.05 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.046e-05/0.0103, allocations: 94.48 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.587e-06/0.0103, allocations: 25.7 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.01032, allocations: 80.14 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.01033, allocations: 0.6875 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.01036, allocations: 13.72 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.01043, allocations: 310.8 kB / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.01044, allocations: 25.7 kB / 333.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.01046, allocations: 29.7 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.773e-05/0.01052, allocations: 68.34 kB / 333.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01052, allocations: 0 / 333.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.97e-05/0.01057, allocations: 81.11 kB / 333.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.01059, allocations: 29.7 kB / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.0106, allocations: 7.984 kB / 333.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.01061, allocations: 3.938 kB / 333.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-06/0.01061, allocations: 0 / 333.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.01061, allocations: 3.938 kB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.01063, allocations: 4 kB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.01063, allocations: 0 / 333.8 MB, free: 14.89 MB / 314.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.702e-05/0.01069, allocations: 143.6 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-06/0.01069, allocations: 0 / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-06/0.0107, allocations: 3 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.0107, allocations: 8 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01071, allocations: 0 / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01071, allocations: 3.938 kB / 333.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.794e-05/0.01076, allocations: 62.73 kB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.01076, allocations: 3.938 kB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.01076, allocations: 0 / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.01076, allocations: 4 kB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.01076, allocations: 4 kB / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.01077, allocations: 0 / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01077, allocations: 0 / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.726e-05/0.01083, allocations: 116.4 kB / 334.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-06/0.01084, allocations: 4 kB / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.01085, allocations: 0 / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-06/0.01085, allocations: 0 / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-06/0.01086, allocations: 0 / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.01086, allocations: 4 kB / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.821e-06/0.01087, allocations: 4.859 kB / 334.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01087, allocations: 0 / 334.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007049/0.01158, allocations: 299.6 kB / 334.4 MB, free: 14.18 MB / 314.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.00108/0.01265, allocations: 0.497 MB / 334.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.482e-05/0.01274, allocations: 111.7 kB / 335 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01274, allocations: 0 / 335 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.01277, allocations: 89.97 kB / 335.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.339e-05/0.01282, allocations: 7.938 kB / 335.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001339/0.01295, allocations: 112.5 kB / 335.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.609e-05/0.01298, allocations: 51.36 kB / 335.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.921e-06/0.01298, allocations: 8.125 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.01301, allocations: 51.38 kB / 335.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01301, allocations: 0 / 335.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of Templates: time 0.01247/0.02548, allocations: 9.399 MB / 344.7 MB, free: 3.773 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.3601352092809975]