Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008535/0.008535, allocations: 1.788 MB / 21.65 MB, free: 2.816 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.000736/0.000736, allocations: 86.17 kB / 25.49 MB, free: 6.355 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.0008737/0.0008737, allocations: 164 kB / 28.89 MB, free: 3.344 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.9187/0.9187, allocations: 177.1 MB / 209.3 MB, free: 2.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.7437/0.7437, allocations: 102.5 MB / 368.3 MB, free: 0.7812 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 415.1 MB, free: 2.188 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.925e-05, allocations: 6.312 kB / 415.1 MB, free: 2.18 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.00265/0.002669, allocations: 1.369 MB / 416.5 MB, free: 0.8086 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.003597, allocations: 0.8066 MB / 417.3 MB, free: 16 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.003634, allocations: 4 kB / 417.3 MB, free: 15.99 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.005162, allocations: 72.75 kB / 417.4 MB, free: 15.95 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 2.902e-05/0.005191, allocations: 19.86 kB / 417.4 MB, free: 15.93 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.705e-06/0.005194, allocations: 0 / 417.4 MB, free: 15.93 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 4.679e-05/0.005241, allocations: 7.984 kB / 417.4 MB, free: 15.93 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.005275, allocations: 11.98 kB / 417.4 MB, free: 15.91 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.006295, allocations: 0.5552 MB / 418 MB, free: 15.4 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.138e-05/0.006306, allocations: 0 / 418 MB, free: 15.4 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.006547, allocations: 0 / 418 MB, free: 15.4 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.006778, allocations: 0 / 418 MB, free: 15.4 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.008698, allocations: 4.298 MB / 422.3 MB, free: 11.09 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.009505, allocations: 1.555 MB / 423.8 MB, free: 9.516 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.01425, allocations: 9.933 MB / 433.7 MB, free: 15.52 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01425, allocations: 8 kB / 433.8 MB, free: 15.52 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01425, allocations: 0 / 433.8 MB, free: 15.52 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003439/0.01459, allocations: 0 / 433.8 MB, free: 15.52 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.009807/0.0244, allocations: 17.91 MB / 451.7 MB, free: 13.42 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.02443, allocations: 15.88 kB / 451.7 MB, free: 13.41 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.02508, allocations: 0.8046 MB / 452.5 MB, free: 12.6 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006972/0.03205, allocations: 9.908 MB / 462.4 MB, free: 2.504 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.03206, allocations: 384 / 462.4 MB, free: 2.504 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.03211, allocations: 384 / 462.4 MB, free: 2.504 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.03394, allocations: 2.979 MB / 465.4 MB, free: 15.51 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.03395, allocations: 4.188 kB / 465.4 MB, free: 15.51 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.03399, allocations: 4.359 kB / 465.4 MB, free: 15.5 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001581/0.03557, allocations: 3.034 MB / 468.4 MB, free: 12.46 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.03761, allocations: 2.03 MB / 470.4 MB, free: 10.43 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.05061, allocations: 14.55 MB / 485 MB, free: 11.77 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.05067, allocations: 173.1 kB / 485.2 MB, free: 11.59 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.05068, allocations: 80.14 kB / 485.2 MB, free: 11.51 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.0507, allocations: 79.12 kB / 485.3 MB, free: 11.43 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.05073, allocations: 109.8 kB / 485.4 MB, free: 11.32 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.05073, allocations: 0 / 485.4 MB, free: 11.32 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.0009524/0.05168, allocations: 1.227 MB / 486.6 MB, free: 10.08 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.05173, allocations: 130.7 kB / 486.8 MB, free: 9.941 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/0.06452, allocations: 22.06 MB / 0.4969 GB, free: 4.047 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.06453, allocations: 25.7 kB / 0.4969 GB, free: 4.016 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005509/0.07003, allocations: 11.9 MB / 0.5086 GB, free: 8.008 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.07033, allocations: 495.5 kB / 0.509 GB, free: 7.523 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002782/0.07311, allocations: 4.13 MB / 0.5131 GB, free: 3.375 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.07318, allocations: 304.9 kB / 0.5134 GB, free: 3.078 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.07447, allocations: 1.469 MB / 0.5148 GB, free: 1.605 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2922/0.3667, allocations: 19.22 MB / 0.5336 GB, free: 68.42 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/0.3793, allocations: 24.25 MB / 0.5572 GB, free: 41.46 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003415/0.3796, allocations: 182.6 kB / 0.5574 GB, free: 41.46 MB / 490.9 MB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.01478/0.3944, allocations: 16.85 MB / 0.5739 GB, free: 33.48 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.3946, allocations: 280 kB / 0.5741 GB, free: 33.21 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003177/0.3949, allocations: 0.6218 MB / 0.5747 GB, free: 32.59 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.3953, allocations: 0.8008 MB / 0.5755 GB, free: 31.79 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006662/0.402, allocations: 5.645 MB / 0.581 GB, free: 26.13 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004418/0.4024, allocations: 1.202 MB / 0.5822 GB, free: 24.93 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007569/0.41, allocations: 3.296 MB / 0.5854 GB, free: 23.41 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008944/0.4109, allocations: 1.34 MB / 0.5867 GB, free: 22.07 MB / 490.9 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.002909/0.4138, allocations: 2.188 MB / 0.5889 GB, free: 20.27 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/0.4146, allocations: 1.305 MB / 0.5901 GB, free: 18.95 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.4159, allocations: 2.098 MB / 0.5922 GB, free: 16.84 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.4159, allocations: 184.3 kB / 0.5924 GB, free: 16.66 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.416, allocations: 176.3 kB / 0.5925 GB, free: 16.48 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.416, allocations: 183.8 kB / 0.5927 GB, free: 16.29 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.4186, allocations: 4.735 MB / 0.5973 GB, free: 11.52 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/0.4186, allocations: 104.9 kB / 0.5974 GB, free: 11.41 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.4186, allocations: 105 kB / 0.5975 GB, free: 11.3 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.4186, allocations: 180.3 kB / 0.5977 GB, free: 11.12 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.4186, allocations: 180.2 kB / 0.5979 GB, free: 10.94 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.4187, allocations: 184.3 kB / 0.5981 GB, free: 10.75 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/0.4187, allocations: 189 kB / 0.5982 GB, free: 10.56 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.4193, allocations: 1.658 MB / 0.5999 GB, free: 8.875 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.4203, allocations: 2.102 MB / 0.6019 GB, free: 7.75 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004945/0.4208, allocations: 184.3 kB / 0.6021 GB, free: 7.562 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/0.4216, allocations: 104.9 kB / 0.6022 GB, free: 7.453 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.4216, allocations: 184.2 kB / 0.6024 GB, free: 7.266 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.4216, allocations: 110.3 kB / 0.6025 GB, free: 7.152 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.006143/0.4278, allocations: 10.44 MB / 0.6127 GB, free: 12.87 MB / 0.495 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4278, allocations: 0.5469 kB / 0.6127 GB, free: 12.87 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.008709/0.4365, allocations: 2.051 MB / 0.6147 GB, free: 10.82 MB / 0.495 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.0001154/0.4366, allocations: 155.7 kB / 0.6148 GB, free: 10.66 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.008287/0.4449, allocations: 7.944 MB / 0.6226 GB, free: 2.855 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 0.000582/0.4454, allocations: 0.5486 MB / 0.6231 GB, free: 2.293 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.4455, allocations: 1.297 kB / 0.6231 GB, free: 2.293 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/0.449, allocations: 1.81 MB / 0.6249 GB, free: 484 kB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/0.478, allocations: 33.89 MB / 0.658 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/0.481, allocations: 4.266 MB / 0.6621 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.004494/0.4855, allocations: 2.594 MB / 0.6647 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.4865, allocations: 1.828 MB / 0.6664 GB, free: 5.684 MB / 0.5419 GB Notification: Performance of SimCode: time 1.793e-06/0.4865, allocations: 0 / 0.6664 GB, free: 5.684 MB / 0.5419 GB Notification: Performance of Templates: time 0.112/0.5985, allocations: 54.36 MB / 0.7195 GB, free: 15.39 MB / 0.6044 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! " [Timeout remaining time 799] Reference file matches [Calling sys.exit(0), Time elapsed: 6.9854499800130725]