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.001283/0.001283, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001437/0.001437, allocations: 169.1 kB / 24.5 MB, free: 3.453 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.449/1.449, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.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.2126/0.2126, allocations: 34.26 MB / 295.5 MB, free: 14.59 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.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 0.002045/0.002045, allocations: 67.88 kB / 443.1 MB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3304, allocations: 66.01 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001447/0.3319, allocations: 496.8 kB / 0.4977 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3334, allocations: 1.557 MB / 0.4992 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.3334, allocations: 3.938 kB / 0.4992 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.3334, allocations: 0 / 0.4992 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.3335, allocations: 0 / 0.4992 GB, free: 28.5 MB / 446.1 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.0008251/0.3343, allocations: 283.9 kB / 0.4995 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.243e-05/0.3343, allocations: 7.188 kB / 0.4995 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.3344, allocations: 11.56 kB / 0.4995 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.3344, allocations: 7.109 kB / 0.4995 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.707e-05/0.3344, allocations: 3.938 kB / 0.4995 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-06/0.3344, allocations: 0 / 0.4995 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.3349, allocations: 420.9 kB / 0.4999 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.3349, allocations: 3.469 kB / 0.4999 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.335, allocations: 0 / 0.4999 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3353, allocations: 298.2 kB / 0.5002 GB, free: 28.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3353, allocations: 4 kB / 0.5002 GB, free: 28.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3353, allocations: 0 / 0.5002 GB, free: 28.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3353, allocations: 0 / 0.5002 GB, free: 28.26 MB / 446.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.0002565/0.3356, allocations: 307 kB / 0.5005 GB, free: 27.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.3356, allocations: 9.688 kB / 0.5005 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.3356, allocations: 0.9375 kB / 0.5005 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.441e-05/0.3357, allocations: 109.7 kB / 0.5006 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3357, allocations: 384 / 0.5006 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.3357, allocations: 384 / 0.5006 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.548e-05/0.3358, allocations: 63.03 kB / 0.5007 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3358, allocations: 4 kB / 0.5007 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.3358, allocations: 0 / 0.5007 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3358, allocations: 3.328 kB / 0.5007 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.3358, allocations: 29.08 kB / 0.5007 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.477e-05/0.3359, allocations: 101.3 kB / 0.5008 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.3359, allocations: 47.41 kB / 0.5008 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.3359, allocations: 33.53 kB / 0.5009 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.336, allocations: 0 / 0.5009 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.336, allocations: 59.78 kB / 0.5009 GB, free: 27.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.336, allocations: 3.312 kB / 0.5009 GB, free: 27.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.3361, allocations: 121.3 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3362, allocations: 80.53 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.996e-05/0.3362, allocations: 97 kB / 0.5012 GB, free: 27.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-06/0.3362, allocations: 25.7 kB / 0.5012 GB, free: 27.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-06/0.3362, allocations: 80.14 kB / 0.5013 GB, free: 26.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.3362, allocations: 3.938 kB / 0.5013 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.3362, allocations: 17.09 kB / 0.5013 GB, free: 26.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.3363, allocations: 310.8 kB / 0.5016 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.3363, allocations: 25.7 kB / 0.5017 GB, free: 26.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-06/0.3363, allocations: 32.33 kB / 0.5017 GB, free: 26.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.3363, allocations: 63.73 kB / 0.5017 GB, free: 26.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3363, allocations: 0 / 0.5017 GB, free: 26.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.273e-05/0.3364, allocations: 87.52 kB / 0.5018 GB, free: 26.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3364, allocations: 35.69 kB / 0.5019 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3364, allocations: 4 kB / 0.5019 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3364, allocations: 3.938 kB / 0.5019 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3364, allocations: 0 / 0.5019 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3364, allocations: 11.05 kB / 0.5019 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.3364, allocations: 0 / 0.5019 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3364, allocations: 0 / 0.5019 GB, free: 26.35 MB / 446.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 4.179e-05/0.3365, allocations: 138.6 kB / 0.502 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.3365, allocations: 0 / 0.502 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-06/0.3365, allocations: 14.34 kB / 0.502 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3365, allocations: 3.156 kB / 0.502 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3365, allocations: 0 / 0.502 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.3365, allocations: 3.938 kB / 0.502 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.675e-05/0.3365, allocations: 97.33 kB / 0.5021 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3365, allocations: 3.188 kB / 0.5021 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3365, allocations: 0 / 0.5021 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.3365, allocations: 0 / 0.5021 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.3365, allocations: 4 kB / 0.5021 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3365, allocations: 7.406 kB / 0.5021 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3365, allocations: 0 / 0.5021 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.736e-05/0.3366, allocations: 116.7 kB / 0.5023 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-06/0.3366, allocations: 3.219 kB / 0.5023 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.3366, allocations: 0 / 0.5023 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-06/0.3366, allocations: 7.875 kB / 0.5023 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.3367, allocations: 3.938 kB / 0.5023 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.3367, allocations: 3.188 kB / 0.5023 GB, free: 25.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.004e-05/0.3367, allocations: 75.28 kB / 0.5023 GB, free: 25.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3367, allocations: 0 / 0.5023 GB, free: 25.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3369, allocations: 67.36 kB / 0.5024 GB, free: 25.82 MB / 446.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.0003644/0.3373, allocations: 191.4 kB / 0.5026 GB, free: 25.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.139e-05/0.3374, allocations: 109.2 kB / 0.5027 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3374, allocations: 0 / 0.5027 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.3374, allocations: 83.67 kB / 0.5028 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.3375, allocations: 3.125 kB / 0.5028 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001484/0.3377, allocations: 115.3 kB / 0.5029 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.503e-05/0.3377, allocations: 58.02 kB / 0.5029 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.401e-06/0.3377, allocations: 7.938 kB / 0.5029 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.008e-05/0.3377, allocations: 12.62 kB / 0.503 GB, free: 25.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3377, allocations: 0 / 0.503 GB, free: 25.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003679/0.3414, allocations: 1.288 MB / 0.5042 GB, free: 25.13 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/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.852625309024006]