Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json 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.001572/0.001572, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.00146/0.00146, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 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 1.382/1.382, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 51.92 kB / 377.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.27, allocations: 53.38 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001817/0.2718, allocations: 0.5005 MB / 431.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.2742, allocations: 1.914 MB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.2743, allocations: 4 kB / 433.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.2765, allocations: 156 kB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.967e-05/0.2765, allocations: 23.91 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.2767, allocations: 47.88 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.2768, allocations: 47.89 kB / 433.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.124e-05/0.2768, allocations: 0 / 433.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.2769, allocations: 35.8 kB / 433.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.277, allocations: 23.91 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.277, allocations: 0 / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.368e-05/0.277, allocations: 15.98 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.2771, allocations: 47.91 kB / 433.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.2772, allocations: 43.72 kB / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.2774, allocations: 97.22 kB / 434 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2774, allocations: 3.938 kB / 434 MB, free: 3.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2774, allocations: 0 / 434 MB, free: 3.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.2774, allocations: 0 / 434 MB, free: 3.723 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005998/0.278, allocations: 415.2 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2781, allocations: 12.02 kB / 434.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.2781, allocations: 30.75 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.2781, allocations: 16.89 kB / 434.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.2784, allocations: 183.1 kB / 434.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.2784, allocations: 12.31 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2784, allocations: 384 / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.2786, allocations: 176.9 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2786, allocations: 0 / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2786, allocations: 0 / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2787, allocations: 0 / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.2787, allocations: 7.938 kB / 434.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.279, allocations: 180.7 kB / 435 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/0.279, allocations: 18.58 kB / 435.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.2791, allocations: 8.922 kB / 435.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.2791, allocations: 4 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.2791, allocations: 60.2 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2791, allocations: 0 / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.2793, allocations: 61.53 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.2794, allocations: 154.2 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.2796, allocations: 219.8 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2796, allocations: 25.7 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.2797, allocations: 112.1 kB / 435.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2797, allocations: 4 kB / 435.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.2797, allocations: 17.72 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2799, allocations: 327 kB / 436 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.2799, allocations: 4 kB / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.28, allocations: 147.1 kB / 436.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.28, allocations: 20.8 kB / 436.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.28, allocations: 0 / 436.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.21e-05/0.2801, allocations: 57.53 kB / 436.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2801, allocations: 4 kB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2801, allocations: 0 / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2802, allocations: 0 / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-05/0.2802, allocations: 8.094 kB / 436.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2802, allocations: 0 / 436.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-05/0.2803, allocations: 8 kB / 436.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.2803, allocations: 3.984 kB / 436.3 MB, free: 1.156 MB / 334.1 MB 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 (2): * Single equations (assignments): 2 * 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.0001032/0.2804, allocations: 129.8 kB / 436.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.2804, allocations: 23.78 kB / 436.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.2805, allocations: 20.45 kB / 436.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2805, allocations: 11.95 kB / 436.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2805, allocations: 0 / 436.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2805, allocations: 0 / 436.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.2807, allocations: 164.7 kB / 436.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2807, allocations: 0 / 436.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.2807, allocations: 3.938 kB / 436.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2807, allocations: 3.938 kB / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2807, allocations: 3.984 kB / 436.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2807, allocations: 4 kB / 436.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2807, allocations: 4 kB / 436.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.2808, allocations: 77.03 kB / 436.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.2809, allocations: 31.89 kB / 436.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2809, allocations: 4 kB / 436.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.281, allocations: 8.094 kB / 436.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-06/0.281, allocations: 0 / 436.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.281, allocations: 7.984 kB / 436.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.2812, allocations: 165.5 kB / 436.9 MB, free: 448 kB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2812, allocations: 0 / 436.9 MB, free: 448 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002021/0.2814, allocations: 12 kB / 436.9 MB, free: 436 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0006716/0.2821, allocations: 0.6697 MB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.542e-05/0.2821, allocations: 12 kB / 437.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2821, allocations: 0 / 437.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.33e-05/0.2822, allocations: 7.984 kB / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.2823, allocations: 15.94 kB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.2842, allocations: 1.787 MB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.2843, allocations: 101 kB / 439.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.686e-05/0.2844, allocations: 44.56 kB / 439.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.2845, allocations: 63.38 kB / 439.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2845, allocations: 0 / 439.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.3191, allocations: 4.332 MB / 444 MB, free: 9.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.87, allocations: 7.219 kB / 444 MB, free: 9.371 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.236031447071582]