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.0015/0.0015, allocations: 112.5 kB / 21.19 MB, free: 0.7539 MB / 14.72 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.001697/0.001697, allocations: 209.7 kB / 24.49 MB, free: 4.141 MB / 14.72 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 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.2175/0.2175, allocations: 46.94 MB / 361.6 MB, free: 4.238 MB / 286.1 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 0.001956/0.001956, allocations: 59.91 kB / 0.4974 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 66.04 MB / 0.5619 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001723/0.3011, allocations: 489 kB / 0.5623 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.3043, allocations: 2.18 MB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.3043, allocations: 0 / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.3043, allocations: 0 / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.3043, allocations: 3.938 kB / 0.5645 GB, free: 1.695 MB / 398.1 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.002163/0.3065, allocations: 0.763 MB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.3065, allocations: 4 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.3066, allocations: 3.984 kB / 0.5652 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.3066, allocations: 4 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.617e-05/0.3066, allocations: 0 / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-06/0.3066, allocations: 0 / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.3092, allocations: 1.712 MB / 0.5669 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.3092, allocations: 0 / 0.5669 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.3092, allocations: 0 / 0.5669 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.311, allocations: 1.573 MB / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.311, allocations: 0 / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.311, allocations: 0 / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.311, allocations: 0 / 0.5684 GB, free: 13.64 MB / 414.1 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.0006348/0.3116, allocations: 339.4 kB / 0.5688 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3117, allocations: 8.031 kB / 0.5688 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.3117, allocations: 4.938 kB / 0.5688 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.3118, allocations: 106.5 kB / 0.5689 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3118, allocations: 384 / 0.5689 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3118, allocations: 4.125 kB / 0.5689 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3119, allocations: 37.64 kB / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3119, allocations: 0 / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.3119, allocations: 0 / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.312, allocations: 0 / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.312, allocations: 3.984 kB / 0.5689 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.3121, allocations: 120.8 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.253e-05/0.3121, allocations: 18.52 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.3122, allocations: 8.891 kB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.3122, allocations: 4 kB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.3122, allocations: 60.27 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3122, allocations: 3.938 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001809/0.3124, allocations: 67.34 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.3125, allocations: 81.23 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.607e-05/0.3125, allocations: 89.86 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3125, allocations: 29.64 kB / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.3126, allocations: 84.12 kB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.3126, allocations: 0 / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.3126, allocations: 17.72 kB / 0.5695 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3128, allocations: 314.8 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.3128, allocations: 0 / 0.5698 GB, free: 12.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.3128, allocations: 8 kB / 0.5698 GB, free: 12.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.3128, allocations: 60.2 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3128, allocations: 4 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.563e-05/0.3129, allocations: 63.34 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.313, allocations: 37.69 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.313, allocations: 4 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.313, allocations: 0 / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.313, allocations: 0 / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.313, allocations: 0 / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.313, allocations: 8.078 kB / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.313, allocations: 0 / 0.57 GB, free: 11.85 MB / 414.1 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 9.106e-05/0.3131, allocations: 135.5 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.3131, allocations: 3.938 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.003e-05/0.3131, allocations: 3 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3131, allocations: 0 / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3131, allocations: 7.984 kB / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3131, allocations: 0 / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.3132, allocations: 116.8 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3132, allocations: 7.938 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3132, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3132, allocations: 3.938 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3132, allocations: 4 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3132, allocations: 3.938 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3132, allocations: 0 / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3133, allocations: 90.83 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-06/0.3133, allocations: 3.969 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.3134, allocations: 4 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.3134, allocations: 0 / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.3134, allocations: 3.984 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.3134, allocations: 4 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.261e-05/0.3134, allocations: 75.28 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3134, allocations: 0 / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009108/0.3143, allocations: 271.6 kB / 0.5707 GB, free: 11.04 MB / 414.1 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.001349/0.3157, allocations: 420.7 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3158, allocations: 67.34 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3158, allocations: 0 / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.3158, allocations: 59.39 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.316, allocations: 3.938 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.3162, allocations: 102.8 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3165, allocations: 0.669 MB / 0.5719 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.3165, allocations: 11.44 kB / 0.5719 GB, free: 9.645 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3165, allocations: 128 / 0.5719 GB, free: 9.645 MB / 414.1 MB Notification: Performance of Templates: time 0.01196/0.3285, allocations: 6.649 MB / 0.5784 GB, free: 2.988 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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: 11.187350477091968]