Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002661, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002333, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8529/0.8529, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1504/1.003, allocations: 52.5 MB / 238.5 MB, free: 7.637 MB / 234.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.1294/0.1294, allocations: 32.81 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0199/0.1493, allocations: 12.53 MB / 284.5 MB, free: 9.73 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 285.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.617e-05, allocations: 2.312 kB / 285.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0009557/0.0009718, allocations: 0.5585 MB / 286.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.002948, allocations: 2.089 MB / 288.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.369e-05/0.002961, allocations: 0 / 288.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.419e-06/0.002966, allocations: 0 / 288.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.62e-07/0.002967, allocations: 3.938 kB / 288.5 MB, free: 5.781 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001143/0.00411, allocations: 0.7205 MB / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.004158, allocations: 3.938 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.00419, allocations: 3.984 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.00422, allocations: 4 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.826e-05/0.004238, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.004245, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.005667, allocations: 1.576 MB / 290.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.005677, allocations: 0 / 290.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.279e-05/0.00569, allocations: 3.984 kB / 290.8 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.006735, allocations: 1.47 MB / 292.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.006743, allocations: 0 / 292.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006744, allocations: 0 / 292.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.006752, allocations: 0 / 292.3 MB, free: 1.992 MB / 282.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.0004356/0.007188, allocations: 429.3 kB / 292.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.007223, allocations: 12.03 kB / 292.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.007261, allocations: 0.9375 kB / 292.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/0.00733, allocations: 105.8 kB / 292.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.00734, allocations: 4.375 kB / 292.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.007351, allocations: 4.375 kB / 292.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.007435, allocations: 55.95 kB / 292.9 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.007445, allocations: 7.875 kB / 292.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-06/0.00745, allocations: 4 kB / 292.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.007456, allocations: 0 / 292.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.007477, allocations: 29.7 kB / 292.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.987e-05/0.007547, allocations: 57.05 kB / 293 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.007589, allocations: 44.36 kB / 293 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.007607, allocations: 34.56 kB / 293 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/0.007611, allocations: 4 kB / 293 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.007651, allocations: 60.27 kB / 293.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.007652, allocations: 0 / 293.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.007782, allocations: 114.7 kB / 293.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.007847, allocations: 166.2 kB / 293.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.82e-05/0.007885, allocations: 89.86 kB / 293.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.007897, allocations: 25.7 kB / 293.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/0.007918, allocations: 80.14 kB / 293.6 MB, free: 496 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.00794, allocations: 0 / 293.6 MB, free: 496 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.00797, allocations: 17.83 kB / 293.6 MB, free: 472 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.00806, allocations: 314.8 kB / 293.9 MB, free: 148 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.008078, allocations: 33.69 kB / 293.9 MB, free: 108 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.00809, allocations: 25.7 kB / 293.9 MB, free: 76 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.944e-05/0.008149, allocations: 64.2 kB / 294 MB, free: 16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.008152, allocations: 0 / 294 MB, free: 16 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.587e-05/0.008208, allocations: 89.09 kB / 294.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.008245, allocations: 29.7 kB / 294.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.00825, allocations: 0 / 294.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.008264, allocations: 0 / 294.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.933e-06/0.008266, allocations: 8.031 kB / 294.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00827, allocations: 3.938 kB / 294.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.008286, allocations: 4 kB / 294.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.008293, allocations: 0 / 294.1 MB, free: 15.84 MB / 298.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.601e-05/0.008359, allocations: 135.5 kB / 294.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.008364, allocations: 7.984 kB / 294.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.044e-05/0.008374, allocations: 3 kB / 294.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.008376, allocations: 0 / 294.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.008377, allocations: 0 / 294.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.008381, allocations: 3.938 kB / 294.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.663e-05/0.008428, allocations: 69.89 kB / 294.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008429, allocations: 7.938 kB / 294.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-07/0.008429, allocations: 0 / 294.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-06/0.008433, allocations: 0 / 294.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.008433, allocations: 0 / 294.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.008439, allocations: 4 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.008439, allocations: 0 / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.008441, allocations: 3.984 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.329e-05/0.008504, allocations: 108.5 kB / 294.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.008516, allocations: 7.984 kB / 294.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-06/0.008521, allocations: 32 / 294.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-06/0.00853, allocations: 4 kB / 294.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.008532, allocations: 0 / 294.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.264e-06/0.008539, allocations: 4.859 kB / 294.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008539, allocations: 0 / 294.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004549/0.008994, allocations: 275.6 kB / 294.8 MB, free: 15.14 MB / 298.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.0008698/0.009864, allocations: 442.8 kB / 295.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.382e-05/0.009957, allocations: 115.7 kB / 295.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.009962, allocations: 3.984 kB / 295.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/0.009993, allocations: 90.06 kB / 295.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.005e-05/0.01004, allocations: 8 kB / 295.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001444/0.01019, allocations: 108 kB / 295.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.698e-05/0.01021, allocations: 51.36 kB / 295.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.781e-06/0.01022, allocations: 4 kB / 295.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.01025, allocations: 51.38 kB / 295.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01025, allocations: 0 / 295.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Templates: time 0.01045/0.0207, allocations: 9.434 MB / 305 MB, free: 4.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.11311130784452]