Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000743/0.000743, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007353/0.0007353, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.638e-05, allocations: 10.22 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001009/0.001026, allocations: 0.5049 MB / 318.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.002701, allocations: 1.874 MB / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.002746, allocations: 0 / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.007472, allocations: 137.5 kB / 320.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.00753, allocations: 31.84 kB / 321 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.007692, allocations: 51.8 kB / 321 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.414e-05/0.007776, allocations: 47.83 kB / 321.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.007814, allocations: 8 kB / 321.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.007897, allocations: 39.91 kB / 321.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.007972, allocations: 23.91 kB / 321.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.007995, allocations: 0 / 321.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.884e-05/0.008044, allocations: 15.98 kB / 321.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.008119, allocations: 51.89 kB / 321.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.00816, allocations: 23.92 kB / 321.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.008353, allocations: 111.6 kB / 321.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.008356, allocations: 4 kB / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008357, allocations: 0 / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.008362, allocations: 0 / 321.3 MB, free: 3.461 MB / 282.7 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.0004476/0.008809, allocations: 427.2 kB / 321.7 MB, free: 3.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.008848, allocations: 16.92 kB / 321.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.008873, allocations: 30.75 kB / 321.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.008912, allocations: 16.84 kB / 321.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.009111, allocations: 202.4 kB / 322 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.009119, allocations: 4.312 kB / 322 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.009133, allocations: 384 / 322 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.00928, allocations: 177.4 kB / 322.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.009288, allocations: 192 / 322.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.009301, allocations: 4.125 kB / 322.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.009305, allocations: 0 / 322.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.009324, allocations: 15.94 kB / 322.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.009595, allocations: 168.8 kB / 322.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.009632, allocations: 26.56 kB / 322.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.009645, allocations: 4.859 kB / 322.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.009652, allocations: 0 / 322.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.009683, allocations: 64.33 kB / 322.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.009684, allocations: 0 / 322.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.009813, allocations: 61.52 kB / 322.5 MB, free: 2.074 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.009865, allocations: 158.2 kB / 322.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.01003, allocations: 231.8 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.01005, allocations: 37.83 kB / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.0101, allocations: 112.1 kB / 323 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.01011, allocations: 3.953 kB / 323.1 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.01014, allocations: 21.7 kB / 323.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.01022, allocations: 326.8 kB / 323.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.01023, allocations: 0 / 323.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.01029, allocations: 151 kB / 323.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.01032, allocations: 12.86 kB / 323.6 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01032, allocations: 0 / 323.6 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.277e-05/0.01038, allocations: 65.59 kB / 323.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01039, allocations: 8 kB / 323.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.0104, allocations: 0 / 323.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.01041, allocations: 3.938 kB / 323.6 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.53e-05/0.01044, allocations: 4 kB / 323.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01044, allocations: 0 / 323.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.0105, allocations: 8 kB / 323.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.01051, allocations: 0 / 323.6 MB, free: 0.8281 MB / 282.7 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 7.218e-05/0.01058, allocations: 133.8 kB / 323.8 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.0106, allocations: 19.89 kB / 323.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.01062, allocations: 20.53 kB / 323.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01062, allocations: 3.984 kB / 323.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01063, allocations: 3.984 kB / 323.8 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.01063, allocations: 0 / 323.8 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.01075, allocations: 160.7 kB / 324 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.01076, allocations: 0 / 324 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.01077, allocations: 4 kB / 324 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01077, allocations: 0 / 324 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.01078, allocations: 0 / 324 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.01078, allocations: 7.875 kB / 324 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01078, allocations: 0 / 324 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.01089, allocations: 81.08 kB / 324.1 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.01093, allocations: 39.89 kB / 324.1 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.01095, allocations: 4 kB / 324.1 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.011, allocations: 15.94 kB / 324.1 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.01101, allocations: 0 / 324.1 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.01101, allocations: 0 / 324.1 MB, free: 284 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.01112, allocations: 185.4 kB / 324.3 MB, free: 100 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01112, allocations: 0 / 324.3 MB, free: 100 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.01127, allocations: 19.98 kB / 324.3 MB, free: 80 kB / 282.7 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.0004427/0.01172, allocations: 0.7029 MB / 325 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.517e-05/0.01178, allocations: 11.98 kB / 325 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01179, allocations: 4 kB / 325 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.01179, allocations: 4 kB / 325 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.01192, allocations: 23.86 kB / 325.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.01323, allocations: 1.885 MB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.009e-05/0.0133, allocations: 93.3 kB / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.571e-05/0.01335, allocations: 36.77 kB / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.818e-05/0.01343, allocations: 76.44 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01343, allocations: 0 / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.03246, allocations: 4.674 MB / 331.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/6.908, allocations: 3.25 kB / 331.8 MB, free: 8.555 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.677999316714704]