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.001542/0.001542, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001425/0.001425, allocations: 185.1 kB / 23.72 MB, free: 4.719 MB / 14.72 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 1.428/1.428, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001501/0.001501, allocations: 43.92 kB / 370.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2492, allocations: 52.18 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001681/0.2509, allocations: 0.5314 MB / 423.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.2533, allocations: 1.901 MB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.2533, allocations: 0 / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005159/0.2585, allocations: 129.3 kB / 425.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2586, allocations: 31.91 kB / 425.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.2589, allocations: 51.02 kB / 425.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.2591, allocations: 47.83 kB / 425.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.2592, allocations: 7.984 kB / 425.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2593, allocations: 27.86 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2595, allocations: 27.91 kB / 425.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.2595, allocations: 0 / 425.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.2596, allocations: 19.98 kB / 425.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.2597, allocations: 59.81 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2598, allocations: 39.73 kB / 425.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.2602, allocations: 111.9 kB / 425.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2602, allocations: 0 / 425.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2602, allocations: 0 / 425.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.2602, allocations: 0 / 425.6 MB, free: 11.67 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.0009965/0.2612, allocations: 419.2 kB / 426 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.2613, allocations: 12.03 kB / 426 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.2613, allocations: 38.69 kB / 426 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.53e-05/0.2614, allocations: 16.78 kB / 426.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.2619, allocations: 191.2 kB / 426.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.2619, allocations: 384 / 426.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.2619, allocations: 4.375 kB / 426.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.2621, allocations: 70.11 kB / 426.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2621, allocations: 0 / 426.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.2621, allocations: 3.938 kB / 426.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2621, allocations: 4 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.2622, allocations: 4 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.2627, allocations: 168.7 kB / 426.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.2627, allocations: 22.58 kB / 426.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.2628, allocations: 16.89 kB / 426.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.2628, allocations: 0 / 426.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.364e-05/0.2629, allocations: 60.2 kB / 426.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.2629, allocations: 4 kB / 426.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002366/0.2631, allocations: 53.55 kB / 426.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.2633, allocations: 162.2 kB / 426.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.2637, allocations: 223.8 kB / 427 MB, free: 10.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2637, allocations: 33.7 kB / 427.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2639, allocations: 112.1 kB / 427.2 MB, free: 9.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.2639, allocations: 3.953 kB / 427.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.264, allocations: 17.84 kB / 427.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.2642, allocations: 330.8 kB / 427.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.2642, allocations: 4 kB / 427.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.2643, allocations: 48.28 kB / 427.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.2643, allocations: 16.73 kB / 427.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2643, allocations: 0 / 427.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000159/0.2645, allocations: 61.61 kB / 427.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.2645, allocations: 8 kB / 427.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2645, allocations: 0 / 427.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2645, allocations: 0 / 427.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.2646, allocations: 7.984 kB / 427.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2646, allocations: 0 / 427.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.2647, allocations: 4 kB / 427.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.2648, allocations: 4 kB / 427.7 MB, free: 9.32 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.0001669/0.2649, allocations: 129.8 kB / 427.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.265, allocations: 19.92 kB / 427.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.265, allocations: 16.48 kB / 427.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.265, allocations: 0 / 427.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.265, allocations: 3.938 kB / 427.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.265, allocations: 0 / 427.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.2654, allocations: 160.7 kB / 428 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2654, allocations: 3.938 kB / 428 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.2654, allocations: 7.938 kB / 428 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2654, allocations: 0 / 428 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2654, allocations: 7.984 kB / 428 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2654, allocations: 4 kB / 428 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2654, allocations: 0 / 428 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2656, allocations: 81.03 kB / 428.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.2658, allocations: 39.84 kB / 428.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.2658, allocations: 0 / 428.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.266, allocations: 11.98 kB / 428.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.266, allocations: 0 / 428.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.266, allocations: 4.094 kB / 428.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003092/0.2663, allocations: 181.4 kB / 428.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2663, allocations: 0 / 428.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004056/0.2667, allocations: 19.88 kB / 428.3 MB, free: 8.574 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.001258/0.268, allocations: 0.6933 MB / 429 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.2681, allocations: 19.94 kB / 429 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2681, allocations: 0 / 429 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.2681, allocations: 7.938 kB / 429.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2684, allocations: 12 kB / 429.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.2716, allocations: 1.814 MB / 430.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.2721, allocations: 0.7084 MB / 431.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.2722, allocations: 36.72 kB / 431.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.2724, allocations: 63.39 kB / 431.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2724, allocations: 0 / 431.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.3174, allocations: 4.007 MB / 435.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.26, allocations: 0 / 435.7 MB, free: 1.207 MB / 334.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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: 13.809803680000186]