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.01338/0.01338, allocations: 1.798 MB / 21.35 MB, free: 3.191 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.001219/0.001219, allocations: 81.5 kB / 25.15 MB, free: 7.469 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.001431/0.001431, allocations: 170.5 kB / 29.07 MB, free: 3.66 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.9141/0.9141, allocations: 177.2 MB / 210 MB, free: 3.598 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.5909/0.5909, allocations: 102.4 MB / 369.5 MB, free: 376 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.603e-06/1.603e-06, allocations: 0 / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.639e-05, allocations: 3.469 kB / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001281/0.001297, allocations: 1.329 MB / 471.3 MB, free: 18.21 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005397/0.001837, allocations: 0.7878 MB / 472.1 MB, free: 17.66 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.001874, allocations: 0 / 472.1 MB, free: 17.66 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.003294, allocations: 86.53 kB / 472.2 MB, free: 17.62 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 1.929e-05/0.003313, allocations: 13.73 kB / 472.2 MB, free: 17.62 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.003316, allocations: 0 / 472.2 MB, free: 17.62 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.003367, allocations: 18.23 kB / 472.2 MB, free: 17.61 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.75e-05/0.003394, allocations: 0 / 472.2 MB, free: 17.61 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.004064, allocations: 0.5533 MB / 472.7 MB, free: 17.38 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 1.36e-05/0.004078, allocations: 0 / 472.7 MB, free: 17.38 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.004285, allocations: 0 / 472.7 MB, free: 17.38 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.004485, allocations: 0 / 472.7 MB, free: 17.38 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.005609, allocations: 4.291 MB / 477 MB, free: 15.54 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006245/0.006234, allocations: 1.562 MB / 478.6 MB, free: 14.58 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004478/0.01071, allocations: 9.939 MB / 488.5 MB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01071, allocations: 0 / 488.5 MB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01071, allocations: 1 kB / 488.5 MB, free: 10.39 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002025/0.01092, allocations: 4 kB / 488.5 MB, free: 10.38 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.0118/0.02272, allocations: 20.16 MB / 0.4968 GB, free: 12.37 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.02276, allocations: 12.03 kB / 0.4968 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.02427, allocations: 2.269 MB / 0.499 GB, free: 10.07 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007881/0.03215, allocations: 9.791 MB / 0.5086 GB, free: 1.195 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.03216, allocations: 4.312 kB / 0.5086 GB, free: 1.191 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.03221, allocations: 384 / 0.5086 GB, free: 1.191 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006717/0.03893, allocations: 3.326 MB / 0.5118 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.03894, allocations: 192 / 0.5118 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.03898, allocations: 384 / 0.5118 GB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001827/0.04081, allocations: 3.031 MB / 0.5148 GB, free: 13.17 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/0.04504, allocations: 2.277 MB / 0.517 GB, free: 11.42 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02967/0.0747, allocations: 26.21 MB / 0.5426 GB, free: 1.145 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.0748, allocations: 273.4 kB / 0.5428 GB, free: 0.8633 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.07483, allocations: 126.9 kB / 0.543 GB, free: 0.7344 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.07486, allocations: 123.2 kB / 0.5431 GB, free: 0.6133 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.0749, allocations: 152.6 kB / 0.5432 GB, free: 464 kB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.0749, allocations: 0 / 0.5432 GB, free: 464 kB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.002333/0.07723, allocations: 2.566 MB / 0.5457 GB, free: 13.86 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.07729, allocations: 178.3 kB / 0.5459 GB, free: 13.68 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02816/0.1054, allocations: 29.59 MB / 0.5748 GB, free: 272 kB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1055, allocations: 33.64 kB / 0.5748 GB, free: 232 kB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.012/0.1175, allocations: 18.83 MB / 0.5932 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.1178, allocations: 495.5 kB / 0.5937 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003234/0.1211, allocations: 4.795 MB / 0.5984 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.1212, allocations: 476.8 kB / 0.5988 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.1231, allocations: 1.777 MB / 0.6006 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01373/0.1368, allocations: 28.02 MB / 0.6279 GB, free: 13.48 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2051/0.3419, allocations: 32.83 MB / 0.66 GB, free: 115 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000457/0.3424, allocations: 181.7 kB / 0.6602 GB, free: 115 MB / 0.573 GB Notification: Performance of matching and sorting (n=2915) (initialization): time 0.02336/0.3657, allocations: 21.37 MB / 0.681 GB, free: 110.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004462/0.3662, allocations: 282.6 kB / 0.6813 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008771/0.3671, allocations: 0.6231 MB / 0.6819 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.3675, allocations: 0.8014 MB / 0.6827 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007119/0.3747, allocations: 5.477 MB / 0.688 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007385/0.3754, allocations: 1.201 MB / 0.6892 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008143/0.3835, allocations: 3.293 MB / 0.6924 GB, free: 108.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/0.3851, allocations: 1.514 MB / 0.6939 GB, free: 108.8 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.004505/0.3896, allocations: 2.268 MB / 0.6961 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/0.3913, allocations: 2.682 MB / 0.6987 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.3937, allocations: 2.146 MB / 0.7008 GB, free: 105.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.3937, allocations: 275.1 kB / 0.7011 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/0.3938, allocations: 268 kB / 0.7014 GB, free: 104.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.3938, allocations: 268.1 kB / 0.7016 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007145/0.4009, allocations: 11.65 MB / 0.713 GB, free: 97.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.401, allocations: 155.6 kB / 0.7131 GB, free: 97.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.401, allocations: 148.9 kB / 0.7133 GB, free: 97.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-05/0.401, allocations: 268 kB / 0.7135 GB, free: 97.27 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.401, allocations: 268.1 kB / 0.7138 GB, free: 97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.437e-05/0.401, allocations: 264.1 kB / 0.714 GB, free: 96.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-05/0.4011, allocations: 272.8 kB / 0.7143 GB, free: 96.46 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.4022, allocations: 3.229 MB / 0.7175 GB, free: 93.19 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.4033, allocations: 2.155 MB / 0.7196 GB, free: 91.02 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005876/0.4039, allocations: 268.1 kB / 0.7198 GB, free: 90.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009545/0.4048, allocations: 148.8 kB / 0.72 GB, free: 90.59 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.4049, allocations: 264.1 kB / 0.7202 GB, free: 90.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.4049, allocations: 152.8 kB / 0.7204 GB, free: 90.17 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01277/0.4177, allocations: 15.43 MB / 0.7354 GB, free: 77.57 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4177, allocations: 0 / 0.7354 GB, free: 77.57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0081/0.4258, allocations: 2.047 MB / 0.7374 GB, free: 75.52 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.0001138/0.4259, allocations: 214 kB / 0.7376 GB, free: 75.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007669/0.4335, allocations: 8.961 MB / 0.7464 GB, free: 67.56 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4336, allocations: 0 / 0.7464 GB, free: 67.56 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.4336, allocations: 3.938 kB / 0.7464 GB, free: 67.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/0.4368, allocations: 2.06 MB / 0.7484 GB, free: 65.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/0.4612, allocations: 33.93 MB / 0.7815 GB, free: 32.72 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.4638, allocations: 4.27 MB / 0.7857 GB, free: 28.42 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01847/0.4822, allocations: 10.9 MB / 0.7964 GB, free: 17.58 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/0.4835, allocations: 0.8989 MB / 0.7972 GB, free: 16.69 MB / 0.573 GB Notification: Performance of SimCode: time 2.414e-06/0.4835, allocations: 0 / 0.7972 GB, free: 16.69 MB / 0.573 GB Notification: Performance of Templates: time 0.1224/0.6059, allocations: 48.36 MB / 0.8445 GB, free: 1.34 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.0329117039218545]