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.01455/0.01455, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0009654/0.0009654, allocations: 81.88 kB / 25.15 MB, free: 7.465 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.001146/0.001146, allocations: 164.3 kB / 29.05 MB, free: 3.672 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.945/0.945, allocations: 177.2 MB / 210 MB, free: 3.586 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.6383/0.6383, allocations: 102.5 MB / 369.5 MB, free: 396 kB / 330.7 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.803e-06/1.803e-06, allocations: 0 / 470 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.548e-05, allocations: 6.484 kB / 470 MB, free: 19 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.002138/0.002163, allocations: 1.326 MB / 471.3 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.002963, allocations: 0.7939 MB / 472.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.003006, allocations: 0 / 472.1 MB, free: 17.63 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.004827, allocations: 77.59 kB / 472.2 MB, free: 17.6 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.547e-05/0.004852, allocations: 8.938 kB / 472.2 MB, free: 17.59 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.004856, allocations: 0 / 472.2 MB, free: 17.59 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.004919, allocations: 21 kB / 472.2 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.004952, allocations: 0 / 472.2 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.004991, allocations: 6.344 kB / 472.2 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.284e-05/0.005024, allocations: 6.812 kB / 472.2 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.005037, allocations: 1.469 kB / 472.2 MB, free: 17.58 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.00508, allocations: 12.83 kB / 472.2 MB, free: 17.57 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002738/0.007819, allocations: 5.647 MB / 477.9 MB, free: 15.46 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.008879, allocations: 1.828 MB / 479.7 MB, free: 14.3 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004406/0.01329, allocations: 7.585 MB / 487.3 MB, free: 11.45 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01329, allocations: 0 / 487.3 MB, free: 11.45 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01329, allocations: 1.062 kB / 487.3 MB, free: 11.45 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003094/0.0136, allocations: 0 / 487.3 MB, free: 11.45 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.01895/0.03255, allocations: 13.09 MB / 0.4886 GB, free: 3.016 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.0326, allocations: 9.5 kB / 0.4886 GB, free: 3.016 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.03484, allocations: 1.427 MB / 0.49 GB, free: 2.023 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007054/0.0419, allocations: 4.409 MB / 0.4943 GB, free: 15.02 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.04191, allocations: 2.656 kB / 0.4944 GB, free: 15.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.04193, allocations: 8.312 kB / 0.4944 GB, free: 15.02 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.04481, allocations: 2.44 MB / 0.4967 GB, free: 12.56 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.04482, allocations: 192 / 0.4967 GB, free: 12.56 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-06/0.04483, allocations: 384 / 0.4967 GB, free: 12.56 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003875/0.0487, allocations: 4.381 MB / 0.501 GB, free: 8.98 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007173/0.05587, allocations: 1.957 MB / 0.5029 GB, free: 7.418 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009617/0.06549, allocations: 6.949 MB / 0.5097 GB, free: 1.379 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.06935, allocations: 2.222 MB / 0.5119 GB, free: 15.61 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009374/0.07873, allocations: 7.514 MB / 0.5192 GB, free: 9.148 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/0.07912, allocations: 482.2 kB / 0.5197 GB, free: 8.68 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.0793, allocations: 332.2 kB / 0.52 GB, free: 8.344 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2915): time 2.899e-05/0.07933, allocations: 0 / 0.52 GB, free: 8.344 MB / 442.8 MB Notification: Performance of matching and sorting (n=2915): time 0.01752/0.09685, allocations: 13 MB / 0.5327 GB, free: 11.51 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/0.09704, allocations: 346.2 kB / 0.533 GB, free: 11.16 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/0.1082, allocations: 11.52 MB / 0.5443 GB, free: 15.69 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004039/0.1086, allocations: 485.7 kB / 0.5447 GB, free: 15.21 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.11, allocations: 2.413 MB / 0.5471 GB, free: 12.79 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006954/0.1169, allocations: 13.13 MB / 0.5599 GB, free: 15.56 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007869/0.1248, allocations: 10.41 MB / 0.5701 GB, free: 5.141 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.1249, allocations: 488.2 kB / 0.5705 GB, free: 4.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007026/0.1319, allocations: 3.559 MB / 0.574 GB, free: 1.094 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03043/0.1624, allocations: 56.05 MB / 0.6288 GB, free: 0.5391 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2466/0.409, allocations: 67.96 MB / 0.6951 GB, free: 41.05 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001122/0.4101, allocations: 362.7 kB / 0.6955 GB, free: 41.05 MB / 0.573 GB Notification: Performance of matching and sorting (n=5830) (initialization): time 0.06416/0.4743, allocations: 39.08 MB / 0.7336 GB, free: 18.67 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000622/0.4749, allocations: 0.54 MB / 0.7342 GB, free: 18.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00135/0.4762, allocations: 1.253 MB / 0.7354 GB, free: 16.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/0.4771, allocations: 1.602 MB / 0.737 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01943/0.4965, allocations: 10.95 MB / 0.7476 GB, free: 5.656 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.4981, allocations: 2.403 MB / 0.75 GB, free: 3.512 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01737/0.5155, allocations: 3.034 MB / 0.753 GB, free: 0.4922 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01116/0.5266, allocations: 3.788 MB / 0.7567 GB, free: 15.13 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5830 * 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 (5830): * Single equations (assignments): 5830 * 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.007864/0.5345, allocations: 4.602 MB / 0.7611 GB, free: 10.5 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002945/0.5374, allocations: 2.672 MB / 0.7638 GB, free: 7.812 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.5389, allocations: 1.981 MB / 0.7657 GB, free: 5.824 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001217/0.5391, allocations: 279.6 kB / 0.766 GB, free: 5.555 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.518e-05/0.5391, allocations: 0 / 0.766 GB, free: 5.555 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/0.5392, allocations: 135.5 kB / 0.7661 GB, free: 5.422 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008389/0.5476, allocations: 7.495 MB / 0.7734 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/0.5477, allocations: 0 / 0.7734 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008344/0.556, allocations: 4.443 MB / 0.7777 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.5562, allocations: 92 kB / 0.7778 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006816/0.5569, allocations: 456 kB / 0.7783 GB, free: 9.191 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-05/0.557, allocations: 95.75 kB / 0.7784 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.557, allocations: 0 / 0.7784 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.5705, allocations: 12.68 MB / 0.7907 GB, free: 12.37 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/0.5733, allocations: 2.763 MB / 0.7934 GB, free: 9.59 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/0.5743, allocations: 456 kB / 0.7939 GB, free: 9.145 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.5757, allocations: 459.9 kB / 0.7943 GB, free: 8.695 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001453/0.5771, allocations: 1.535 MB / 0.7958 GB, free: 7.156 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005963/0.5777, allocations: 0.625 MB / 0.7964 GB, free: 6.531 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.005525/0.5832, allocations: 4.486 MB / 0.8008 GB, free: 2.098 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5832, allocations: 0 / 0.8008 GB, free: 2.098 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.02169/0.6049, allocations: 5.785 MB / 0.8065 GB, free: 12.31 MB / 0.6355 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 (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 Backend phase and start with SimCode phase: time 0.001082/0.606, allocations: 0.8385 MB / 0.8073 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.03181/0.6378, allocations: 20.7 MB / 0.8275 GB, free: 7.051 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6378, allocations: 0 / 0.8275 GB, free: 7.051 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.007024/0.6448, allocations: 6.45 MB / 0.8338 GB, free: 0.625 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004127/0.649, allocations: 1.106 MB / 0.8349 GB, free: 15.52 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04815/0.6971, allocations: 47.88 MB / 0.8816 GB, free: 15.38 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/0.7008, allocations: 5.206 MB / 0.8867 GB, free: 10.14 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.2056/0.9064, allocations: 15.57 MB / 0.9019 GB, free: 227.2 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/0.9095, allocations: 1.254 MB / 0.9031 GB, free: 227.2 MB / 0.7137 GB Notification: Performance of SimCode: time 1.062e-06/0.9095, allocations: 0 / 0.9031 GB, free: 227.2 MB / 0.7137 GB Notification: Performance of Templates: time 0.1598/1.069, allocations: 112.7 MB / 1.013 GB, free: 151.4 MB / 0.7137 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 -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: 9.14507793681696]