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.008619/0.008619, allocations: 1.777 MB / 22.36 MB, free: 2.113 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.0008644/0.0008644, allocations: 81.42 kB / 26.19 MB, free: 6.238 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.0008974/0.0008974, allocations: 167.3 kB / 30.12 MB, free: 2.34 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.9595/0.9595, allocations: 177.2 MB / 211.1 MB, free: 3.441 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.66/0.66, allocations: 102.4 MB / 370.6 MB, free: 176 kB / 330.7 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.132e-06/1.132e-06, allocations: 0 / 471.2 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.304e-05, allocations: 2.312 kB / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001318/0.001331, allocations: 1.32 MB / 472.5 MB, free: 18.01 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005149/0.001846, allocations: 0.8031 MB / 473.4 MB, free: 17.44 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.001886, allocations: 0 / 473.4 MB, free: 17.44 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.003327, allocations: 74.97 kB / 473.4 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.093e-05/0.003348, allocations: 13.98 kB / 473.4 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.976e-06/0.003351, allocations: 0 / 473.4 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.003401, allocations: 9.375 kB / 473.4 MB, free: 17.4 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.003436, allocations: 11.31 kB / 473.5 MB, free: 17.4 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007315/0.004167, allocations: 0.5605 MB / 474 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.302e-05/0.00418, allocations: 0 / 474 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.004306, allocations: 0 / 474 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.004423, allocations: 2.844 kB / 474 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.005691, allocations: 4.294 MB / 478.3 MB, free: 15.3 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008979/0.006589, allocations: 1.557 MB / 479.9 MB, free: 14.35 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.01133, allocations: 9.94 MB / 489.8 MB, free: 10.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01133, allocations: 0 / 489.8 MB, free: 10.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01133, allocations: 0 / 489.8 MB, free: 10.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.000792/0.01212, allocations: 0 / 489.8 MB, free: 10.16 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.01974/0.03186, allocations: 20.42 MB / 0.4983 GB, free: 11.8 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.03189, allocations: 8.031 kB / 0.4983 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.03395, allocations: 2.273 MB / 0.5005 GB, free: 9.508 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009545/0.0435, allocations: 9.8 MB / 0.5101 GB, free: 0.6289 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.04351, allocations: 384 / 0.5101 GB, free: 0.6289 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.04356, allocations: 384 / 0.5101 GB, free: 0.6289 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008129/0.05169, allocations: 3.071 MB / 0.5131 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.0517, allocations: 192 / 0.5131 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.05174, allocations: 384 / 0.5131 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002261/0.054, allocations: 3.031 MB / 0.516 GB, free: 13.17 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.05756, allocations: 1.946 MB / 0.5179 GB, free: 11.46 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02625/0.0838, allocations: 21.31 MB / 0.5387 GB, free: 6.039 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.767e-05/0.0839, allocations: 265.4 kB / 0.539 GB, free: 5.766 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.08393, allocations: 130.9 kB / 0.5391 GB, free: 5.633 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.08395, allocations: 119.2 kB / 0.5392 GB, free: 5.516 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.08399, allocations: 156.5 kB / 0.5394 GB, free: 5.352 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.084, allocations: 4 kB / 0.5394 GB, free: 5.348 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.001972/0.08597, allocations: 2.562 MB / 0.5419 GB, free: 2.762 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.08602, allocations: 178.6 kB / 0.5421 GB, free: 2.574 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02451/0.1105, allocations: 29.46 MB / 0.5708 GB, free: 5.277 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.1105, allocations: 29.7 kB / 0.5709 GB, free: 5.242 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01209/0.1226, allocations: 19.17 MB / 0.5896 GB, free: 1.977 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.123, allocations: 499.5 kB / 0.59 GB, free: 1.488 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003505/0.1265, allocations: 4.879 MB / 0.5948 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.1266, allocations: 476.8 kB / 0.5953 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.1281, allocations: 1.426 MB / 0.5967 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01374/0.1418, allocations: 27.8 MB / 0.6238 GB, free: 2.637 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.221/0.3628, allocations: 32.61 MB / 0.6557 GB, free: 118.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005141/0.3633, allocations: 181.3 kB / 0.6558 GB, free: 118.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.02227/0.3856, allocations: 20.26 MB / 0.6756 GB, free: 114.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003625/0.386, allocations: 282.4 kB / 0.6759 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000936/0.3869, allocations: 0.6231 MB / 0.6765 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3879, allocations: 0.8019 MB / 0.6773 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006963/0.3949, allocations: 5.466 MB / 0.6826 GB, free: 113.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007106/0.3956, allocations: 1.211 MB / 0.6838 GB, free: 113.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008524/0.4041, allocations: 3.294 MB / 0.687 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/0.4052, allocations: 1.334 MB / 0.6883 GB, free: 112.4 MB / 0.573 GB 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.004671/0.4099, allocations: 2.271 MB / 0.6905 GB, free: 111.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/0.4115, allocations: 2.683 MB / 0.6932 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.4141, allocations: 2.144 MB / 0.6952 GB, free: 109.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.4141, allocations: 264.1 kB / 0.6955 GB, free: 108.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.4141, allocations: 264.1 kB / 0.6957 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.4141, allocations: 279.2 kB / 0.696 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005148/0.4193, allocations: 7.119 MB / 0.703 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.4193, allocations: 160.2 kB / 0.7031 GB, free: 105.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.4193, allocations: 152.9 kB / 0.7033 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.93e-05/0.4193, allocations: 267.4 kB / 0.7035 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.4194, allocations: 268 kB / 0.7038 GB, free: 104.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.627e-05/0.4194, allocations: 268.1 kB / 0.704 GB, free: 104.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-05/0.4194, allocations: 268 kB / 0.7043 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.4205, allocations: 3.225 MB / 0.7074 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.4216, allocations: 2.151 MB / 0.7095 GB, free: 98.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006089/0.4222, allocations: 267.3 kB / 0.7098 GB, free: 98.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.4231, allocations: 152.4 kB / 0.7099 GB, free: 98.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.4231, allocations: 268.1 kB / 0.7102 GB, free: 98.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4231, allocations: 148.9 kB / 0.7103 GB, free: 97.99 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01072/0.4338, allocations: 14.63 MB / 0.7246 GB, free: 88.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4338, allocations: 3.938 kB / 0.7246 GB, free: 88.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009634/0.4435, allocations: 2.042 MB / 0.7266 GB, free: 86.77 MB / 0.573 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.0001144/0.4436, allocations: 215.9 kB / 0.7268 GB, free: 86.55 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008613/0.4522, allocations: 8.648 MB / 0.7353 GB, free: 79.33 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4522, allocations: 0 / 0.7353 GB, free: 79.33 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/0.4522, allocations: 0 / 0.7353 GB, free: 79.33 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/0.456, allocations: 2.063 MB / 0.7373 GB, free: 77.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/0.4903, allocations: 33.93 MB / 0.7704 GB, free: 45.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/0.4934, allocations: 4.264 MB / 0.7746 GB, free: 41.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004647/0.4981, allocations: 2.592 MB / 0.7771 GB, free: 38.65 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007428/0.4988, allocations: 1.846 MB / 0.7789 GB, free: 36.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.684e-06/0.4988, allocations: 0 / 0.7789 GB, free: 36.8 MB / 0.573 GB Notification: Performance of Templates: time 0.1125/0.6113, allocations: 55.34 MB / 0.833 GB, free: 14.22 MB / 0.6043 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 -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.738769359886646]