Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001092/0.001092, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001292/0.001292, allocations: 165 kB / 24.56 MB, free: 12 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 0.9863/0.9863, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2818/0.2818, allocations: 32.81 MB / 294.3 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.004e-05, allocations: 6.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001154/0.001174, allocations: 500 kB / 376.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.005968, allocations: 1.604 MB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.45e-05/0.005982, allocations: 0 / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.005998, allocations: 0 / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.006004, allocations: 0 / 378.1 MB, free: 2.543 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0007865/0.006791, allocations: 291.1 kB / 378.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.38e-05/0.006835, allocations: 0 / 378.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.006866, allocations: 12 kB / 378.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.006891, allocations: 0 / 378.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.567e-05/0.006906, allocations: 0 / 378.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.473e-06/0.006913, allocations: 3.938 kB / 378.4 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.009497, allocations: 427 kB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.009507, allocations: 0 / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.00953, allocations: 4 kB / 378.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.009962, allocations: 319.1 kB / 379.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.009965, allocations: 4 kB / 379.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.009966, allocations: 0 / 379.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.009969, allocations: 0 / 379.1 MB, free: 1.504 MB / 346.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.0003282/0.0103, allocations: 393.8 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.01033, allocations: 8.031 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.01037, allocations: 4.922 kB / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.862e-05/0.01044, allocations: 116.6 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.01045, allocations: 4.359 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.01046, allocations: 4.312 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/0.01055, allocations: 59.91 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.01056, allocations: 4.188 kB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.01057, allocations: 4.375 kB / 379.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.01057, allocations: 3.938 kB / 379.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.01059, allocations: 29.7 kB / 379.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.04e-05/0.01068, allocations: 108.6 kB / 379.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/0.01073, allocations: 52.8 kB / 379.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.01075, allocations: 37.39 kB / 379.9 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-06/0.01076, allocations: 0 / 379.9 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.0108, allocations: 71.08 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.0108, allocations: 0 / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001687/0.01097, allocations: 118.8 kB / 380.1 MB, free: 324 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.01101, allocations: 81.05 kB / 380.2 MB, free: 224 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.659e-05/0.01106, allocations: 146.2 kB / 380.4 MB, free: 64 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.01107, allocations: 25.7 kB / 380.4 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.01111, allocations: 126.9 kB / 380.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.01113, allocations: 4.344 kB / 380.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.01115, allocations: 15.38 kB / 380.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01127, allocations: 496.1 kB / 381 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.01129, allocations: 29.7 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.01131, allocations: 25.7 kB / 381.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.01136, allocations: 75.22 kB / 381.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01136, allocations: 0 / 381.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.174e-05/0.01144, allocations: 93.05 kB / 381.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.01146, allocations: 32.05 kB / 381.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.01147, allocations: 4 kB / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01148, allocations: 0 / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/0.01149, allocations: 0 / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01149, allocations: 3.938 kB / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.0115, allocations: 0 / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.01151, allocations: 0 / 381.3 MB, free: 15.07 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.17e-05/0.01159, allocations: 186.3 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.0116, allocations: 7.984 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-06/0.01161, allocations: 3 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01161, allocations: 4 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01161, allocations: 7.875 kB / 381.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01162, allocations: 3.938 kB / 381.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.175e-05/0.01168, allocations: 104.6 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.01168, allocations: 0 / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.01168, allocations: 0 / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.01168, allocations: 4 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.01169, allocations: 4 kB / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.01169, allocations: 0 / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01169, allocations: 0 / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.514e-05/0.01179, allocations: 131.8 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-06/0.01179, allocations: 0 / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01181, allocations: 7.984 kB / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-06/0.01181, allocations: 4 kB / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.01183, allocations: 0 / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.01183, allocations: 0 / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.01187, allocations: 127.1 kB / 381.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01187, allocations: 0 / 381.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002637/0.01213, allocations: 67.83 kB / 381.9 MB, free: 14.34 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.0004241/0.01256, allocations: 205 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.01267, allocations: 118.5 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01267, allocations: 0 / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.01271, allocations: 92.78 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.01283, allocations: 0 / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.01302, allocations: 113.7 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.01305, allocations: 55.34 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.591e-06/0.01306, allocations: 0 / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.01307, allocations: 16.62 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01307, allocations: 0 / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003768/0.01684, allocations: 1.504 MB / 384 MB, free: 12.14 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.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.8987613790668547]