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.001827/0.001827, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002167/0.002167, allocations: 215.2 kB / 23.75 MB, free: 4.668 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001479/0.001479, allocations: 51.91 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2603, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00191/0.2622, allocations: 0.537 MB / 431.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.265, allocations: 1.949 MB / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.2651, allocations: 0 / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.2671, allocations: 159.8 kB / 433.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.2671, allocations: 23.91 kB / 433.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.2673, allocations: 55.81 kB / 433.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2674, allocations: 43.84 kB / 433.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.2675, allocations: 7.984 kB / 433.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.2675, allocations: 31.89 kB / 433.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.2676, allocations: 19.88 kB / 433.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2676, allocations: 0 / 433.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.087e-05/0.2677, allocations: 23.92 kB / 434 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.2678, allocations: 51.88 kB / 434 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.2678, allocations: 35.75 kB / 434 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.2681, allocations: 103.9 kB / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2681, allocations: 0 / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2681, allocations: 0 / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.2681, allocations: 0 / 434.1 MB, free: 3.848 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.0006285/0.2687, allocations: 419.2 kB / 434.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2688, allocations: 8.031 kB / 434.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.2688, allocations: 30.75 kB / 434.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.2688, allocations: 12.89 kB / 434.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.2691, allocations: 183.1 kB / 434.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-06/0.2691, allocations: 4.375 kB / 434.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.2691, allocations: 4.375 kB / 434.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.2693, allocations: 74.05 kB / 434.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2693, allocations: 4 kB / 434.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2693, allocations: 4 kB / 434.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2693, allocations: 3.984 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.2693, allocations: 8 kB / 434.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.2697, allocations: 172.7 kB / 435 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.935e-05/0.2697, allocations: 18.52 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.2697, allocations: 12.91 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.2698, allocations: 0 / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.2698, allocations: 60.2 kB / 435.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.2698, allocations: 7.938 kB / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.000159/0.27, allocations: 53.61 kB / 435.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/0.2701, allocations: 162.1 kB / 435.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.2703, allocations: 211.8 kB / 435.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2703, allocations: 25.7 kB / 435.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.2704, allocations: 116.1 kB / 435.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2704, allocations: 0 / 435.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.2705, allocations: 21.72 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2706, allocations: 327 kB / 436 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.2706, allocations: 7.984 kB / 436.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.2707, allocations: 36.3 kB / 436.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.2707, allocations: 16.84 kB / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2707, allocations: 3.938 kB / 436.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001004/0.2708, allocations: 65.55 kB / 436.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2708, allocations: 6.969 kB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2708, allocations: 0 / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2708, allocations: 4 kB / 436.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.507e-05/0.2709, allocations: 0 / 436.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2709, allocations: 3.984 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.131e-05/0.271, allocations: 8 kB / 436.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.271, allocations: 0 / 436.2 MB, free: 1.531 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.0001177/0.2711, allocations: 133.8 kB / 436.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.2711, allocations: 19.88 kB / 436.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.2712, allocations: 20.44 kB / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2712, allocations: 0 / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2712, allocations: 0 / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2712, allocations: 4 kB / 436.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.2714, allocations: 160.7 kB / 436.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2714, allocations: 0 / 436.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.2714, allocations: 7.938 kB / 436.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.2714, allocations: 0 / 436.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2714, allocations: 0 / 436.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.2714, allocations: 0 / 436.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2714, allocations: 4 kB / 436.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2716, allocations: 80.97 kB / 436.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.2716, allocations: 35.89 kB / 436.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.2717, allocations: 11.92 kB / 436.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.2718, allocations: 8 kB / 436.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.2718, allocations: 8.031 kB / 436.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.2718, allocations: 0 / 436.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.2719, allocations: 169.5 kB / 436.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2719, allocations: 0 / 436.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.2722, allocations: 16 kB / 436.9 MB, free: 0.7969 MB / 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.0006937/0.2728, allocations: 0.6606 MB / 437.5 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.244e-05/0.2729, allocations: 11.98 kB / 437.5 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2729, allocations: 0 / 437.5 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.273, allocations: 8 kB / 437.5 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.2731, allocations: 8.125 kB / 437.5 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.2752, allocations: 1.803 MB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.2755, allocations: 0.7084 MB / 440.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.426e-05/0.2756, allocations: 40.56 kB / 440.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2757, allocations: 67.38 kB / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2757, allocations: 0 / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.3092, allocations: 3.821 MB / 444 MB, free: 9.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.47, allocations: 8.062 kB / 444 MB, free: 9.641 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.022414641996875]