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.0008531/0.0008531, allocations: 79.69 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.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.0009295/0.0009295, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9465/0.9465, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.483e-06/1.483e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.48e-05, allocations: 8.891 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009495/0.0009643, allocations: 0.5126 MB / 325.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.00256, allocations: 1.925 MB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.002594, allocations: 4 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.003804, allocations: 159.1 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.394e-05/0.003848, allocations: 23.95 kB / 327.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.003981, allocations: 47.83 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.004061, allocations: 47.83 kB / 327.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.004094, allocations: 4 kB / 327.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.004177, allocations: 39.91 kB / 327.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.004245, allocations: 23.91 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.00426, allocations: 0 / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.004303, allocations: 15.92 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.004378, allocations: 43.91 kB / 327.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.004421, allocations: 27.92 kB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.00461, allocations: 95.66 kB / 327.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004612, allocations: 0 / 327.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004613, allocations: 0 / 327.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004618, allocations: 0 / 327.5 MB, free: 13.02 MB / 298.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.0004462/0.005064, allocations: 442.4 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.005101, allocations: 12.03 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.005128, allocations: 30.75 kB / 328 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.005165, allocations: 12.89 kB / 328 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.005353, allocations: 194.3 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.00536, allocations: 384 / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.005375, allocations: 4.375 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.005516, allocations: 181.3 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.005523, allocations: 192 / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.005535, allocations: 12.05 kB / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.00554, allocations: 0 / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.005556, allocations: 7.938 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.00584, allocations: 168.8 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.546e-05/0.005875, allocations: 18.58 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.005891, allocations: 12.91 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.005899, allocations: 4 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.005927, allocations: 56.27 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.005928, allocations: 0 / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.006068, allocations: 61.48 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.006126, allocations: 162.2 kB / 328.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.006274, allocations: 215.9 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.006287, allocations: 33.7 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.006334, allocations: 112.1 kB / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.00635, allocations: 0 / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.006445, allocations: 21.66 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.006518, allocations: 331 kB / 329.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.00653, allocations: 3.984 kB / 329.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.587e-05/0.006586, allocations: 143.1 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.006612, allocations: 20.78 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006614, allocations: 0 / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.967e-05/0.006674, allocations: 53.61 kB / 329.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.006685, allocations: 8 kB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.006689, allocations: 0 / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.006702, allocations: 3.938 kB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.684e-05/0.006728, allocations: 12.08 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.006733, allocations: 4 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.006794, allocations: 8 kB / 329.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.006799, allocations: 0 / 329.8 MB, free: 10.4 MB / 298.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 6.526e-05/0.006864, allocations: 133.8 kB / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.006883, allocations: 15.91 kB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.006903, allocations: 24.44 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.006906, allocations: 3.938 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.00691, allocations: 0 / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.006913, allocations: 0 / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.007033, allocations: 160.7 kB / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.007033, allocations: 4 kB / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.007046, allocations: 0 / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007049, allocations: 7.938 kB / 330.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.007057, allocations: 4 kB / 330.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.00706, allocations: 7.922 kB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.007061, allocations: 0 / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.197e-05/0.007153, allocations: 80.97 kB / 330.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.007197, allocations: 31.95 kB / 330.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.007214, allocations: 4 kB / 330.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.00726, allocations: 16.02 kB / 330.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.00727, allocations: 8 kB / 330.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.007271, allocations: 0 / 330.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.007375, allocations: 169.4 kB / 330.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007375, allocations: 4 kB / 330.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.007519, allocations: 19.94 kB / 330.5 MB, free: 9.656 MB / 298.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.0004982/0.008017, allocations: 0.6675 MB / 331.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.243e-05/0.008079, allocations: 11.98 kB / 331.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.008081, allocations: 0 / 331.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.008087, allocations: 4 kB / 331.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.008222, allocations: 27.66 kB / 331.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.00955, allocations: 1.85 MB / 333 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.009609, allocations: 101.3 kB / 333.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.009657, allocations: 32.58 kB / 333.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.00974, allocations: 80.44 kB / 333.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00974, allocations: 0 / 333.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.02918, allocations: 4.481 MB / 337.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/6.789, allocations: 4.062 kB / 337.7 MB, free: 2.359 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/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: 8.697559493593872]