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.00134/0.00134, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001631/0.001631, allocations: 209.9 kB / 23.73 MB, free: 4.391 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001683/0.001683, allocations: 51.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2838, allocations: 53.36 MB / 431.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00212/0.2859, allocations: 0.5122 MB / 431.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.2891, allocations: 1.914 MB / 433.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.2891, allocations: 4 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.2914, allocations: 159.8 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.149e-05/0.2915, allocations: 31.91 kB / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2917, allocations: 47.81 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2918, allocations: 47.83 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.2919, allocations: 4 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.292, allocations: 27.92 kB / 433.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2921, allocations: 27.84 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2921, allocations: 0 / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.2922, allocations: 15.98 kB / 433.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2923, allocations: 43.91 kB / 433.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.799e-05/0.2923, allocations: 39.72 kB / 433.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.2926, allocations: 97.23 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2926, allocations: 3.938 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2926, allocations: 4 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2926, allocations: 0 / 434 MB, free: 3.652 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.0006896/0.2933, allocations: 411.3 kB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2933, allocations: 12.03 kB / 434.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.2934, allocations: 30.75 kB / 434.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.2935, allocations: 8.891 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.2938, allocations: 191.1 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2938, allocations: 384 / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.2938, allocations: 384 / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.294, allocations: 180.9 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.294, allocations: 7.984 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.294, allocations: 4 kB / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.294, allocations: 0 / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.2941, allocations: 0 / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.2945, allocations: 188.6 kB / 435 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.135e-05/0.2945, allocations: 18.58 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.2945, allocations: 8.922 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.2945, allocations: 0 / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.839e-05/0.2946, allocations: 64.2 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2946, allocations: 0 / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001803/0.2948, allocations: 57.53 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.2949, allocations: 162.2 kB / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.2952, allocations: 207.8 kB / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2952, allocations: 29.7 kB / 435.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.2953, allocations: 112.1 kB / 435.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2953, allocations: 4 kB / 435.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.2954, allocations: 17.7 kB / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2955, allocations: 330.8 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.2955, allocations: 0 / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2957, allocations: 143.1 kB / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.2957, allocations: 21.05 kB / 436.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2957, allocations: 3.938 kB / 436.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001281/0.2958, allocations: 65.47 kB / 436.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2958, allocations: 4 kB / 436.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2958, allocations: 0 / 436.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2959, allocations: 0 / 436.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.157e-05/0.2959, allocations: 4 kB / 436.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2959, allocations: 3.938 kB / 436.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.296, allocations: 8 kB / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.296, allocations: 32 / 436.3 MB, free: 1.086 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.0001273/0.2961, allocations: 137.8 kB / 436.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.2962, allocations: 15.84 kB / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.2962, allocations: 20.45 kB / 436.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2962, allocations: 0 / 436.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2962, allocations: 0 / 436.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2962, allocations: 4 kB / 436.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.2964, allocations: 160.7 kB / 436.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2964, allocations: 4 kB / 436.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.2965, allocations: 7.938 kB / 436.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2965, allocations: 4 kB / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.2965, allocations: 0 / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2965, allocations: 0 / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2965, allocations: 0 / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.2966, allocations: 84.97 kB / 436.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.2967, allocations: 35.88 kB / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.2968, allocations: 0 / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.2968, allocations: 12 kB / 436.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.2969, allocations: 0 / 436.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.2969, allocations: 0 / 436.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.297, allocations: 165.4 kB / 436.9 MB, free: 388 kB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.297, allocations: 4.094 kB / 436.9 MB, free: 384 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.2973, allocations: 12 kB / 436.9 MB, free: 372 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.0007921/0.298, allocations: 0.6836 MB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.146e-05/0.2981, allocations: 8 kB / 437.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2981, allocations: 0 / 437.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.2982, allocations: 4 kB / 437.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.2983, allocations: 18.05 kB / 437.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.3004, allocations: 1.783 MB / 439.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.3005, allocations: 101 kB / 439.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.364e-05/0.3006, allocations: 44.7 kB / 439.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.3007, allocations: 71.38 kB / 439.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3007, allocations: 0 / 439.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.3373, allocations: 4.329 MB / 444 MB, free: 9.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.53, allocations: 8 kB / 444 MB, free: 9.293 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.180193481966853]