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.001293/0.001293, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001411/0.001411, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.497/1.497, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.001786/0.001786, allocations: 50.58 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2719, allocations: 49.16 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00158/0.2734, allocations: 0.5341 MB / 396.9 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.2757, allocations: 1.942 MB / 398.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.2757, allocations: 0 / 398.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.278, allocations: 138.5 kB / 398.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.382e-05/0.278, allocations: 30.55 kB / 399 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.2783, allocations: 50.78 kB / 399 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2784, allocations: 38.55 kB / 399.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.2785, allocations: 3.391 kB / 399.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-05/0.2785, allocations: 31.2 kB / 399.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2787, allocations: 33.42 kB / 399.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2787, allocations: 5.312 kB / 399.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.2788, allocations: 24 kB / 399.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2789, allocations: 47.97 kB / 399.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.2789, allocations: 48.75 kB / 399.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.2792, allocations: 102.6 kB / 399.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2792, allocations: 5.25 kB / 399.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2792, allocations: 0 / 399.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2792, allocations: 0 / 399.3 MB, free: 7.004 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.0005924/0.2798, allocations: 419.4 kB / 399.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2798, allocations: 13.36 kB / 399.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.2799, allocations: 39.91 kB / 399.8 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.2799, allocations: 16.91 kB / 399.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.2804, allocations: 228.2 kB / 400 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2804, allocations: 6.141 kB / 400.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.2804, allocations: 4.375 kB / 400.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2806, allocations: 71.09 kB / 400.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2806, allocations: 0 / 400.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2806, allocations: 1.094 kB / 400.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2806, allocations: 0 / 400.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.2806, allocations: 8.625 kB / 400.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.2809, allocations: 169.3 kB / 400.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.2809, allocations: 22.53 kB / 400.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.2809, allocations: 7.172 kB / 400.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.2809, allocations: 5.469 kB / 400.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.281, allocations: 62.22 kB / 400.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.281, allocations: 0 / 400.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000149/0.2811, allocations: 57.61 kB / 400.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2812, allocations: 157.2 kB / 400.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.2814, allocations: 227.1 kB / 400.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2814, allocations: 29.7 kB / 400.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.2815, allocations: 116.4 kB / 401 MB, free: 5.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.2815, allocations: 5.75 kB / 401 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.2815, allocations: 23.91 kB / 401 MB, free: 5.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.2816, allocations: 323.7 kB / 401.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.2816, allocations: 3.047 kB / 401.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.2816, allocations: 43.22 kB / 401.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.2816, allocations: 17.27 kB / 401.4 MB, free: 5.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2816, allocations: 0 / 401.4 MB, free: 5.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.768e-05/0.2817, allocations: 62.58 kB / 401.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2818, allocations: 6.75 kB / 401.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2818, allocations: 0 / 401.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2818, allocations: 0 / 401.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.853e-05/0.2818, allocations: 4.078 kB / 401.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2818, allocations: 0 / 401.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.2819, allocations: 13.89 kB / 401.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2819, allocations: 5.5 kB / 401.5 MB, free: 5.094 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.309e-05/0.282, allocations: 137 kB / 401.6 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.282, allocations: 22.34 kB / 401.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.2821, allocations: 22.02 kB / 401.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2821, allocations: 0 / 401.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2821, allocations: 1.25 kB / 401.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2821, allocations: 0.7031 kB / 401.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.2822, allocations: 163.2 kB / 401.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2822, allocations: 0 / 401.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.2823, allocations: 10.41 kB / 401.8 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2823, allocations: 0.6094 kB / 401.8 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2823, allocations: 5.125 kB / 401.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2823, allocations: 4.594 kB / 401.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2823, allocations: 0 / 401.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.2824, allocations: 78.91 kB / 401.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.2825, allocations: 38.91 kB / 401.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.2825, allocations: 2.016 kB / 401.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2826, allocations: 14.3 kB / 402 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.2826, allocations: 0.8438 kB / 402 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.2826, allocations: 1 kB / 402 MB, free: 4.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.2828, allocations: 174.2 kB / 402.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2828, allocations: 1.531 kB / 402.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.283, allocations: 12.31 kB / 402.1 MB, free: 4.574 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.000607/0.2836, allocations: 0.6926 MB / 402.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.986e-05/0.2837, allocations: 9.203 kB / 402.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2837, allocations: 2.141 kB / 402.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.2837, allocations: 3.625 kB / 402.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.284, allocations: 13.78 kB / 402.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2856, allocations: 1.674 MB / 404.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.2858, allocations: 0.7087 MB / 405.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.677e-05/0.2859, allocations: 42.91 kB / 405.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.286, allocations: 62.03 kB / 405.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.286, allocations: 1.125 kB / 405.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04017/0.3262, allocations: 4.198 MB / 409.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.08, allocations: 5.094 kB / 409.6 MB, free: 0.582 MB / 318.1 MB " [Timeout remaining time 649] (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: 14.350293233997945]