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.002013/0.002013, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002495/0.002495, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.001535/0.001535, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2784, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002202/0.2806, allocations: 0.52 MB / 431.6 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.2832, allocations: 1.918 MB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.2832, allocations: 0 / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.2856, allocations: 156.2 kB / 433.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.2856, allocations: 23.97 kB / 433.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.2858, allocations: 47.86 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.2859, allocations: 43.84 kB / 433.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.286, allocations: 4 kB / 433.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.2861, allocations: 35.84 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.2862, allocations: 15.92 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.2862, allocations: 4 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.2862, allocations: 19.98 kB / 433.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2863, allocations: 51.83 kB / 433.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.2864, allocations: 31.8 kB / 433.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.2867, allocations: 105.2 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2867, allocations: 3.984 kB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2867, allocations: 0 / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.2867, allocations: 0 / 434 MB, free: 3.68 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.0008039/0.2875, allocations: 403.3 kB / 434.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.2875, allocations: 11.97 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.2876, allocations: 46.62 kB / 434.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.2876, allocations: 12.88 kB / 434.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.288, allocations: 187.1 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.288, allocations: 384 / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.288, allocations: 384 / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.2882, allocations: 176.9 kB / 434.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2882, allocations: 0 / 434.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2883, allocations: 0 / 434.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2883, allocations: 0 / 434.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.2883, allocations: 7.938 kB / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.2886, allocations: 176.7 kB / 435 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.622e-05/0.2887, allocations: 22.58 kB / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.2887, allocations: 12.92 kB / 435.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.2887, allocations: 0 / 435.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.2888, allocations: 60.2 kB / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.2888, allocations: 0 / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002113/0.289, allocations: 57.53 kB / 435.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.2891, allocations: 154.2 kB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.2893, allocations: 215.8 kB / 435.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2894, allocations: 25.7 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.2895, allocations: 112.2 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.2895, allocations: 15.98 kB / 435.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.2895, allocations: 13.72 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.2897, allocations: 326.8 kB / 436 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.2897, allocations: 4 kB / 436 MB, free: 1.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2898, allocations: 143.1 kB / 436.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.2899, allocations: 20.8 kB / 436.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2899, allocations: 0 / 436.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001061/0.29, allocations: 65.47 kB / 436.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.29, allocations: 4.094 kB / 436.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.29, allocations: 8 kB / 436.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.29, allocations: 0 / 436.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.307e-05/0.2901, allocations: 4 kB / 436.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2901, allocations: 0 / 436.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.454e-05/0.2902, allocations: 8 kB / 436.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2902, allocations: 48 / 436.3 MB, free: 1.117 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.0001214/0.2903, allocations: 129.8 kB / 436.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.2904, allocations: 23.83 kB / 436.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.2905, allocations: 20.45 kB / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2905, allocations: 0 / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2905, allocations: 4 kB / 436.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2905, allocations: 7.922 kB / 436.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.2907, allocations: 164.7 kB / 436.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2907, allocations: 0 / 436.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.2907, allocations: 3.938 kB / 436.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2907, allocations: 0 / 436.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2907, allocations: 0 / 436.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2907, allocations: 4 kB / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2907, allocations: 0 / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2909, allocations: 77.03 kB / 436.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.291, allocations: 39.97 kB / 436.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.291, allocations: 4 kB / 436.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.2911, allocations: 8 kB / 436.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.2911, allocations: 4 kB / 436.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.2911, allocations: 0 / 436.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.2913, allocations: 165.4 kB / 436.9 MB, free: 416 kB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2913, allocations: 0 / 436.9 MB, free: 416 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.2915, allocations: 12 kB / 436.9 MB, free: 404 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.0007467/0.2922, allocations: 0.6788 MB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.624e-05/0.2923, allocations: 8 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2923, allocations: 0 / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.2924, allocations: 11.92 kB / 437.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.2925, allocations: 28 kB / 437.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.2948, allocations: 1.783 MB / 439.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.295, allocations: 101 kB / 439.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.905e-05/0.295, allocations: 32.58 kB / 439.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2951, allocations: 63.38 kB / 439.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2951, allocations: 0 / 439.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.3332, allocations: 4.366 MB / 444 MB, free: 9.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.58, allocations: 8.062 kB / 444 MB, free: 9.301 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 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.csv","/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: 14.275185544975102]