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.001413/0.001413, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001589/0.001589, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.584/1.584, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2662/0.2662, allocations: 46.92 MB / 360.8 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] 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.00204/0.00204, allocations: 67.91 kB / 0.4966 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3778, allocations: 66.03 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001617/0.3794, allocations: 0.4996 MB / 0.5616 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3819, allocations: 1.622 MB / 0.5632 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.3819, allocations: 0 / 0.5632 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.382, allocations: 4 kB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.363e-06/0.382, allocations: 0 / 0.5632 GB, free: 2.254 MB / 398.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.001184/0.3831, allocations: 287.2 kB / 0.5635 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.3832, allocations: 7.984 kB / 0.5635 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.3833, allocations: 11.98 kB / 0.5635 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.3833, allocations: 3.938 kB / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.765e-05/0.3833, allocations: 4 kB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.3833, allocations: 4 kB / 0.5635 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009517/0.3843, allocations: 0.6003 MB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.116e-06/0.3843, allocations: 3.938 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.3843, allocations: 0 / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.3848, allocations: 329.6 kB / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3848, allocations: 0 / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3848, allocations: 0 / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3848, allocations: 0 / 0.5644 GB, free: 1.02 MB / 398.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.0004251/0.3852, allocations: 299.7 kB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3853, allocations: 16.02 kB / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.3853, allocations: 0.9375 kB / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.3854, allocations: 106.5 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3854, allocations: 384 / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.3854, allocations: 384 / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.508e-05/0.3855, allocations: 34.02 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3855, allocations: 0 / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3855, allocations: 0 / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3855, allocations: 4 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.3856, allocations: 7.938 kB / 0.5648 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.3857, allocations: 116.8 kB / 0.5649 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.3857, allocations: 26.59 kB / 0.565 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.3858, allocations: 4.859 kB / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.3858, allocations: 0 / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/0.3858, allocations: 60.2 kB / 0.565 GB, free: 228 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3858, allocations: 4 kB / 0.565 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001774/0.386, allocations: 67.39 kB / 0.5651 GB, free: 144 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.3861, allocations: 81.05 kB / 0.5652 GB, free: 44 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.3862, allocations: 101.8 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3862, allocations: 25.7 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.3862, allocations: 80.14 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.3862, allocations: 3.938 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.3863, allocations: 9.719 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3864, allocations: 319 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.3864, allocations: 0 / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-06/0.3865, allocations: 3.984 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.3865, allocations: 64.27 kB / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3865, allocations: 0 / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.916e-05/0.3866, allocations: 63.34 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.3867, allocations: 33.64 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3867, allocations: 96 / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3867, allocations: 7.984 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.3867, allocations: 0 / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3867, allocations: 4 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.3867, allocations: 0 / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.3867, allocations: 0 / 0.5659 GB, free: 15.27 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.579e-05/0.3868, allocations: 139.5 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.3868, allocations: 3.938 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.261e-05/0.3868, allocations: 7 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3868, allocations: 0 / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3868, allocations: 4 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3868, allocations: 0 / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3869, allocations: 120.8 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3869, allocations: 4 kB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3869, allocations: 0 / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3869, allocations: 3.938 kB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.387, allocations: 0 / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.387, allocations: 0 / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.387, allocations: 0 / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.3871, allocations: 98.77 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-06/0.3871, allocations: 0 / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3871, allocations: 7.938 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-06/0.3871, allocations: 0 / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.3871, allocations: 3.938 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3871, allocations: 0 / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.3872, allocations: 75.28 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3872, allocations: 0 / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.3875, allocations: 67.83 kB / 0.5664 GB, free: 14.66 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.0004776/0.388, allocations: 200.8 kB / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3881, allocations: 59.39 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3881, allocations: 0 / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.3881, allocations: 59.34 kB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3882, allocations: 0 / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.3885, allocations: 85 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3888, allocations: 0.6768 MB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.013e-06/0.3888, allocations: 4.125 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.3888, allocations: 7.438 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3888, allocations: 0 / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Templates: time 0.00444/0.3933, allocations: 1.281 MB / 0.5687 GB, free: 12.22 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/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: 5.3297620851080865]