Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01393/0.01393, allocations: 1.784 MB / 21.64 MB, free: 2.82 MB / 18.57 MB " [Timeout remaining time 180] 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.001243/0.001243, allocations: 87.48 kB / 25.48 MB, free: 6.422 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.001716/0.001716, allocations: 164.9 kB / 28.89 MB, free: 3.387 MB / 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.9579/0.9579, allocations: 177.2 MB / 209.3 MB, free: 2.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7693/0.7693, allocations: 102.4 MB / 368.3 MB, free: 0.7422 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="A.[0-9,]+.|CPUtime|EventCounter|Time|_derdummy|_dummy|readMATRIX.M.[0-9,]+.|readMATRIX.matrixSize.[0-9,]+.|readMATRIX.y.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") translateModel(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="A.[0-9,]+.|CPUtime|EventCounter|Time|_derdummy|_dummy|readMATRIX.M.[0-9,]+.|readMATRIX.matrixSize.[0-9,]+.|readMATRIX.y.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 415.1 MB, free: 2.16 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.466e-05, allocations: 2.312 kB / 415.1 MB, free: 2.156 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001904/0.001929, allocations: 1.375 MB / 416.5 MB, free: 0.7773 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006696/0.002599, allocations: 0.7988 MB / 417.3 MB, free: 15.98 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.002634, allocations: 4 kB / 417.3 MB, free: 15.97 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.004076, allocations: 85.14 kB / 417.3 MB, free: 15.92 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 2.167e-05/0.004098, allocations: 15.97 kB / 417.4 MB, free: 15.91 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.004101, allocations: 0 / 417.4 MB, free: 15.91 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 4.824e-05/0.004149, allocations: 15.94 kB / 417.4 MB, free: 15.89 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.997e-05/0.004179, allocations: 0 / 417.4 MB, free: 15.89 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007631/0.004942, allocations: 0.5544 MB / 417.9 MB, free: 15.38 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.388e-05/0.004956, allocations: 4 kB / 417.9 MB, free: 15.37 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.005083, allocations: 0 / 417.9 MB, free: 15.37 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.0052, allocations: 0 / 417.9 MB, free: 15.37 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.006857, allocations: 4.29 MB / 422.2 MB, free: 11.06 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0009711/0.007828, allocations: 1.567 MB / 423.8 MB, free: 9.48 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005308/0.01314, allocations: 9.937 MB / 433.7 MB, free: 15.49 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01314, allocations: 4 kB / 433.7 MB, free: 15.48 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01314, allocations: 0 / 433.7 MB, free: 15.48 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002846/0.01343, allocations: 0 / 433.7 MB, free: 15.48 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2915 * Number of variables: 2915 Notification: Performance of Generate backend data structure: time 0.01322/0.02665, allocations: 17.9 MB / 451.6 MB, free: 13.4 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.02669, allocations: 8.031 kB / 451.6 MB, free: 13.39 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.02788, allocations: 0.8085 MB / 452.5 MB, free: 12.58 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009892/0.03777, allocations: 9.912 MB / 462.4 MB, free: 2.48 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.03778, allocations: 4.359 kB / 462.4 MB, free: 2.477 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.03783, allocations: 384 / 462.4 MB, free: 2.477 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.04068, allocations: 2.979 MB / 465.3 MB, free: 15.48 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.04069, allocations: 4.188 kB / 465.4 MB, free: 15.48 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.04073, allocations: 384 / 465.4 MB, free: 15.48 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001798/0.04253, allocations: 3.034 MB / 468.4 MB, free: 12.44 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/0.04553, allocations: 2.022 MB / 470.4 MB, free: 10.41 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02126/0.06679, allocations: 14.56 MB / 485 MB, free: 11.75 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.268e-05/0.06685, allocations: 169.1 kB / 485.1 MB, free: 11.57 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.06688, allocations: 80.14 kB / 485.2 MB, free: 11.49 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.06689, allocations: 79.28 kB / 485.3 MB, free: 11.41 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.06693, allocations: 113.8 kB / 485.4 MB, free: 11.29 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 2.334e-06/0.06693, allocations: 0 / 485.4 MB, free: 11.29 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.001605/0.06853, allocations: 1.23 MB / 486.6 MB, free: 10.05 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.06858, allocations: 130.7 kB / 486.8 MB, free: 9.914 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02118/0.08977, allocations: 22.06 MB / 0.4969 GB, free: 4.016 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.08978, allocations: 25.7 kB / 0.4969 GB, free: 3.984 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007889/0.09767, allocations: 11.9 MB / 0.5085 GB, free: 7.984 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009564/0.09862, allocations: 0.4955 MB / 0.509 GB, free: 7.488 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003123/0.1017, allocations: 4.127 MB / 0.513 GB, free: 3.344 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.1018, allocations: 305.1 kB / 0.5133 GB, free: 3.043 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.1031, allocations: 1.465 MB / 0.5148 GB, free: 1.574 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.193/0.2962, allocations: 19.21 MB / 0.5335 GB, free: 72.26 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01763/0.3138, allocations: 24.25 MB / 0.5572 GB, free: 45.32 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001147/0.3149, allocations: 182.6 kB / 0.5574 GB, free: 45.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.02621/0.3411, allocations: 16.84 MB / 0.5738 GB, free: 37.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004261/0.3416, allocations: 280 kB / 0.5741 GB, free: 37.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006015/0.3422, allocations: 0.6211 MB / 0.5747 GB, free: 37.03 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.3426, allocations: 0.8008 MB / 0.5755 GB, free: 36.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008892/0.3514, allocations: 5.649 MB / 0.581 GB, free: 30.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007728/0.3522, allocations: 1.202 MB / 0.5822 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/0.3625, allocations: 3.298 MB / 0.5854 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/0.3645, allocations: 1.344 MB / 0.5867 GB, free: 26.12 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2915 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2915): * Single equations (assignments): 2915 * Array equations: 0 * Algorithm blocks: 0 * 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 0.004407/0.3689, allocations: 2.18 MB / 0.5888 GB, free: 23.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/0.3702, allocations: 1.304 MB / 0.5901 GB, free: 22.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.3727, allocations: 2.094 MB / 0.5922 GB, free: 20.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.3727, allocations: 188.2 kB / 0.5923 GB, free: 20.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.3727, allocations: 176.3 kB / 0.5925 GB, free: 20.12 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.3727, allocations: 184 kB / 0.5927 GB, free: 19.94 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.3775, allocations: 4.738 MB / 0.5973 GB, free: 15.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.3775, allocations: 101 kB / 0.5974 GB, free: 15.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.3775, allocations: 108.9 kB / 0.5975 GB, free: 14.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/0.3775, allocations: 184.3 kB / 0.5977 GB, free: 14.76 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3775, allocations: 180.2 kB / 0.5979 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.3775, allocations: 184.3 kB / 0.598 GB, free: 14.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/0.3775, allocations: 180.3 kB / 0.5982 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.3787, allocations: 1.658 MB / 0.5998 GB, free: 12.53 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.3803, allocations: 2.105 MB / 0.6019 GB, free: 11.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/0.3812, allocations: 184.3 kB / 0.6021 GB, free: 11.21 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.3824, allocations: 101 kB / 0.6022 GB, free: 11.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.3824, allocations: 188.2 kB / 0.6023 GB, free: 10.92 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3824, allocations: 106.4 kB / 0.6024 GB, free: 10.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008911/0.3914, allocations: 10.43 MB / 0.6126 GB, free: 0.5273 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3914, allocations: 4 kB / 0.6126 GB, free: 0.5234 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01304/0.4044, allocations: 2.048 MB / 0.6146 GB, free: 14.47 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.000133/0.4045, allocations: 159.6 kB / 0.6148 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01301/0.4175, allocations: 7.951 MB / 0.6225 GB, free: 6.504 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 0.001151/0.4187, allocations: 0.5486 MB / 0.6231 GB, free: 5.941 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.4187, allocations: 0 / 0.6231 GB, free: 5.941 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/0.4235, allocations: 1.802 MB / 0.6248 GB, free: 4.129 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03899/0.4625, allocations: 33.9 MB / 0.6579 GB, free: 2 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00503/0.4676, allocations: 4.27 MB / 0.6621 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.005968/0.4735, allocations: 2.588 MB / 0.6646 GB, free: 11.16 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.4748, allocations: 1.828 MB / 0.6664 GB, free: 9.336 MB / 0.5418 GB Notification: Performance of SimCode: time 2.164e-06/0.4748, allocations: 0 / 0.6664 GB, free: 9.336 MB / 0.5418 GB Notification: Performance of Templates: time 0.1241/0.5989, allocations: 54.37 MB / 0.7195 GB, free: 3.031 MB / 0.5887 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _derdummy from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _dummy in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _dummy from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! " [Timeout remaining time 799] Reference file matches [Calling sys.exit(0), Time elapsed: 7.19003173802048]