Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001446/0.001446, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002525/0.002525, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 55.92 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2555, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001698/0.2572, allocations: 0.5212 MB / 396.9 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.2595, allocations: 1.899 MB / 398.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.2595, allocations: 1.469 kB / 398.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.2613, allocations: 139.3 kB / 398.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.2613, allocations: 27.03 kB / 398.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.2615, allocations: 48.11 kB / 399 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.294e-05/0.2616, allocations: 49.5 kB / 399 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.2616, allocations: 3.016 kB / 399 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.2617, allocations: 29.23 kB / 399 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.293e-05/0.2618, allocations: 28.33 kB / 399.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.2618, allocations: 5.062 kB / 399.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-05/0.2619, allocations: 19.61 kB / 399.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.262, allocations: 55.92 kB / 399.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.262, allocations: 31.64 kB / 399.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.2623, allocations: 111.2 kB / 399.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2623, allocations: 4 kB / 399.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2623, allocations: 0 / 399.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2623, allocations: 0 / 399.3 MB, free: 6.949 MB / 318.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.0005043/0.2628, allocations: 416.3 kB / 399.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2628, allocations: 13.05 kB / 399.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.174e-05/0.2628, allocations: 32.75 kB / 399.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.2629, allocations: 15.25 kB / 399.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.2633, allocations: 229.9 kB / 400 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2633, allocations: 384 / 400 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.2633, allocations: 1.5 kB / 400 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2635, allocations: 184 kB / 400.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.2635, allocations: 0 / 400.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2635, allocations: 1.094 kB / 400.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2635, allocations: 0 / 400.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.2635, allocations: 3.391 kB / 400.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.2638, allocations: 169 kB / 400.3 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.2638, allocations: 26.22 kB / 400.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.2638, allocations: 11.77 kB / 400.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2639, allocations: 4.688 kB / 400.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2639, allocations: 62.23 kB / 400.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2639, allocations: 4 kB / 400.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.264, allocations: 55.88 kB / 400.5 MB, free: 5.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2641, allocations: 160.3 kB / 400.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.2643, allocations: 230.4 kB / 400.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2643, allocations: 27.11 kB / 400.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.2644, allocations: 116.8 kB / 401 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.2644, allocations: 0 / 401 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.2644, allocations: 23.2 kB / 401 MB, free: 5.355 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.2645, allocations: 328.4 kB / 401.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.2645, allocations: 3.031 kB / 401.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.2646, allocations: 148.2 kB / 401.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.2646, allocations: 12.39 kB / 401.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2646, allocations: 0.9062 kB / 401.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.897e-05/0.2647, allocations: 59 kB / 401.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2647, allocations: 5.531 kB / 401.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2647, allocations: 5.172 kB / 401.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2647, allocations: 0 / 401.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-05/0.2647, allocations: 8.359 kB / 401.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2647, allocations: 0 / 401.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2648, allocations: 17.81 kB / 401.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2648, allocations: 0 / 401.6 MB, free: 4.793 MB / 318.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 7.112e-05/0.2649, allocations: 133.3 kB / 401.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.2649, allocations: 19.19 kB / 401.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.265, allocations: 19.03 kB / 401.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.265, allocations: 0 / 401.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.265, allocations: 0.6094 kB / 401.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.265, allocations: 1.5 kB / 401.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.2651, allocations: 164.2 kB / 401.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2651, allocations: 0 / 401.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.2652, allocations: 10.72 kB / 402 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2652, allocations: 1.031 kB / 402 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2652, allocations: 0 / 402 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2652, allocations: 2.25 kB / 402 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2652, allocations: 0 / 402 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.2653, allocations: 86.27 kB / 402 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.2654, allocations: 43.89 kB / 402.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.2654, allocations: 1.953 kB / 402.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2655, allocations: 9.531 kB / 402.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.2655, allocations: 1.344 kB / 402.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.2655, allocations: 4.891 kB / 402.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.2657, allocations: 176.2 kB / 402.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2657, allocations: 0 / 402.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.2659, allocations: 11.48 kB / 402.3 MB, free: 4.277 MB / 318.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.0005678/0.2664, allocations: 0.7031 MB / 403 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.994e-05/0.2665, allocations: 10.3 kB / 403 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2665, allocations: 1.469 kB / 403 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-06/0.2665, allocations: 2.891 kB / 403 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.2667, allocations: 10.95 kB / 403 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2682, allocations: 1.677 MB / 404.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.301e-05/0.2682, allocations: 95.61 kB / 404.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.073e-05/0.2683, allocations: 35.48 kB / 404.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/0.2684, allocations: 63.12 kB / 404.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2684, allocations: 0 / 404.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.305, allocations: 4.724 MB / 409.6 MB, free: 404 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.87, allocations: 5.312 kB / 409.6 MB, free: 400 kB / 318.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.091716463211924]