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.00836/0.00836, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0007336/0.0007336, allocations: 87.47 kB / 24.15 MB, free: 400 kB / 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.0009591/0.0009591, allocations: 164.4 kB / 27.86 MB, free: 5.496 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.8357/0.8357, allocations: 177.2 MB / 208.6 MB, free: 2.984 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.6764/0.6764, allocations: 102.5 MB / 367.9 MB, free: 1.465 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testMatrixReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testMatrixReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5362 GB, free: 40.06 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.767e-05, allocations: 5.594 kB / 0.5362 GB, free: 40.06 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.002338/0.002356, allocations: 1.276 MB / 0.5374 GB, free: 39.24 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.003099, allocations: 0.7679 MB / 0.5382 GB, free: 38.69 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.003148, allocations: 0 / 0.5382 GB, free: 38.69 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0009217/0.004069, allocations: 65.89 kB / 0.5382 GB, free: 38.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 2.219e-05/0.004091, allocations: 13.22 kB / 0.5383 GB, free: 38.65 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.004096, allocations: 0 / 0.5383 GB, free: 38.65 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.004162, allocations: 16.94 kB / 0.5383 GB, free: 38.64 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.004205, allocations: 1.562 kB / 0.5383 GB, free: 38.64 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.004251, allocations: 9.906 kB / 0.5383 GB, free: 38.64 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.787e-05/0.004278, allocations: 7.281 kB / 0.5383 GB, free: 38.63 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.004293, allocations: 1.406 kB / 0.5383 GB, free: 38.63 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.524e-05/0.004338, allocations: 7.125 kB / 0.5383 GB, free: 38.63 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00366/0.007998, allocations: 6.45 MB / 0.5446 GB, free: 36.03 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005477/0.01347, allocations: 3.693 MB / 0.5482 GB, free: 33.96 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.02615, allocations: 16.35 MB / 0.5642 GB, free: 28.83 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.02616, allocations: 1.094 kB / 0.5642 GB, free: 28.83 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.784e-06/0.02616, allocations: 0 / 0.5642 GB, free: 28.83 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0005647/0.02673, allocations: 0.5625 kB / 0.5642 GB, free: 28.83 MB / 490.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.03812/0.06485, allocations: 27.13 MB / 0.5907 GB, free: 3.957 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.0649, allocations: 8.031 kB / 0.5907 GB, free: 3.949 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001516/0.06642, allocations: 1.172 MB / 0.5918 GB, free: 2.77 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.07002, allocations: 2.448 MB / 0.5942 GB, free: 312 kB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/0.09409, allocations: 15.42 MB / 0.6093 GB, free: 0.7969 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.0941, allocations: 384 / 0.6093 GB, free: 0.7969 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.09411, allocations: 384 / 0.6093 GB, free: 0.7969 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007069/0.1012, allocations: 9.489 MB / 0.6185 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1012, allocations: 192 / 0.6185 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1012, allocations: 1.375 kB / 0.6185 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.1038, allocations: 4.38 MB / 0.6228 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009769/0.1136, allocations: 9.519 MB / 0.6321 GB, free: 9.375 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07594/0.1895, allocations: 40.82 MB / 0.672 GB, free: 364 kB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.1896, allocations: 169.1 kB / 0.6721 GB, free: 184 kB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.1896, allocations: 84.14 kB / 0.6722 GB, free: 96 kB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1897, allocations: 75.28 kB / 0.6723 GB, free: 20 kB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.1897, allocations: 113.8 kB / 0.6724 GB, free: 15.9 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 2.565e-06/0.1897, allocations: 0 / 0.6724 GB, free: 15.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 0.01232/0.202, allocations: 2.751 MB / 0.6751 GB, free: 13.12 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.2021, allocations: 130.7 kB / 0.6752 GB, free: 12.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07711/0.2792, allocations: 43.15 MB / 0.7173 GB, free: 2.027 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2792, allocations: 26.73 kB / 0.7174 GB, free: 1.996 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.01442/0.2936, allocations: 11.72 MB / 0.7288 GB, free: 6.266 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-06/0.2936, allocations: 1.797 kB / 0.7288 GB, free: 6.266 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.2937, allocations: 14.66 kB / 0.7288 GB, free: 6.246 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.2937, allocations: 306 kB / 0.7291 GB, free: 5.941 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.2938, allocations: 1.125 kB / 0.7291 GB, free: 5.941 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.2938, allocations: 0 / 0.7291 GB, free: 5.941 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.2938, allocations: 75.28 kB / 0.7292 GB, free: 5.867 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/0.2938, allocations: 80.16 kB / 0.7293 GB, free: 5.789 MB / 0.6199 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.01298/0.3068, allocations: 2.75 MB / 0.732 GB, free: 3.016 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.3068, allocations: 83.28 kB / 0.732 GB, free: 2.934 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.3069, allocations: 84.34 kB / 0.7321 GB, free: 2.852 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.81e-05/0.3069, allocations: 158.4 kB / 0.7323 GB, free: 2.695 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.307, allocations: 76.66 kB / 0.7323 GB, free: 2.621 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.518e-05/0.307, allocations: 154.6 kB / 0.7325 GB, free: 2.469 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01368/0.3207, allocations: 2.128 MB / 0.7346 GB, free: 336 kB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3207, allocations: 83.25 kB / 0.7347 GB, free: 252 kB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.01239/0.3331, allocations: 6.614 MB / 0.7411 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0109/0.344, allocations: 2.824 MB / 0.7439 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/0.3511, allocations: 3.161 MB / 0.747 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/0.3511, allocations: 184.2 kB / 0.7471 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.474e-05/0.3512, allocations: 180.9 kB / 0.7473 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-05/0.3512, allocations: 176.3 kB / 0.7475 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02838/0.3796, allocations: 9.472 MB / 0.7567 GB, free: 9.508 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/0.3796, allocations: 101 kB / 0.7568 GB, free: 9.402 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.3796, allocations: 101 kB / 0.7569 GB, free: 9.297 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-05/0.3797, allocations: 184.8 kB / 0.7571 GB, free: 9.109 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.3798, allocations: 180.8 kB / 0.7573 GB, free: 8.926 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.232e-05/0.3798, allocations: 188.1 kB / 0.7574 GB, free: 8.734 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-05/0.3799, allocations: 177.1 kB / 0.7576 GB, free: 8.555 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/0.394, allocations: 3.177 MB / 0.7607 GB, free: 5.336 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2955/0.6895, allocations: 6.501 MB / 0.7671 GB, free: 184.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0112/0.7007, allocations: 371.1 kB / 0.7674 GB, free: 183.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01364/0.7144, allocations: 0.9925 MB / 0.7684 GB, free: 183.8 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.7144, allocations: 180.6 kB / 0.7686 GB, free: 183.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.7144, allocations: 106.9 kB / 0.7687 GB, free: 183.5 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.07852/0.7929, allocations: 30.87 MB / 0.7988 GB, free: 176.6 MB / 0.6512 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7929, allocations: 2.531 kB / 0.7988 GB, free: 176.6 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.01346/0.8064, allocations: 1.607 MB / 0.8004 GB, free: 176.6 MB / 0.6512 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.0139/0.8203, allocations: 3.87 MB / 0.8042 GB, free: 175.4 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 5.12e-05/0.8204, allocations: 0.5 kB / 0.8042 GB, free: 175.4 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8204, allocations: 0.625 kB / 0.8042 GB, free: 175.4 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.8204, allocations: 0 / 0.8042 GB, free: 175.4 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02418/0.8445, allocations: 2.521 MB / 0.8066 GB, free: 173.8 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.393/5.238, allocations: 283.8 MB / 1.084 GB, free: 183.5 MB / 0.7138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01794/5.256, allocations: 9.874 MB / 1.093 GB, free: 182.6 MB / 0.7138 GB Notification: Performance of simCode: alias equations: time 0.01711/5.273, allocations: 6.727 MB / 1.1 GB, free: 180.9 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02277/5.296, allocations: 13.84 MB / 1.114 GB, free: 171.5 MB / 0.7138 GB Notification: Performance of SimCode: time 1.603e-06/5.296, allocations: 0 / 1.114 GB, free: 171.5 MB / 0.7138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.693/5.989, allocations: 445.2 MB / 1.548 GB, free: 37.8 MB / 0.7294 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.4/47.39, allocations: 4.047 kB / 1.548 GB, free: 37.8 MB / 0.7294 GB " [Timeout remaining time 752] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testMatrixReader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_testMatrixReader.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 51.46330950036645] Failed to read output from testmodel.py, exit status != 0: 47.681483703665435 47.687691915 47.660130971 Calling exit ...