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.0008722/0.0008722, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004454/0.004454, allocations: 164.6 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.8505/0.8505, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.052e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001164/0.001184, allocations: 0.5258 MB / 298.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.00334, allocations: 1.904 MB / 300.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.003394, allocations: 0 / 300.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.004704, allocations: 137.3 kB / 301 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.00478, allocations: 35.89 kB / 301 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.004982, allocations: 47.88 kB / 301.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.961e-05/0.005081, allocations: 39.84 kB / 301.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.005126, allocations: 7.984 kB / 301.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.005214, allocations: 35.84 kB / 301.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.0053, allocations: 27.91 kB / 301.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.005318, allocations: 0 / 301.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.305e-05/0.005371, allocations: 27.92 kB / 301.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.552e-05/0.005456, allocations: 51.83 kB / 301.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.005502, allocations: 27.92 kB / 301.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.005705, allocations: 99.64 kB / 301.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005707, allocations: 0 / 301.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005709, allocations: 0 / 301.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005713, allocations: 0 / 301.4 MB, free: 0.5547 MB / 282.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.0004954/0.006208, allocations: 447.2 kB / 301.8 MB, free: 84 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.006249, allocations: 11.98 kB / 301.8 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.006277, allocations: 30.75 kB / 301.9 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.006319, allocations: 16.84 kB / 301.9 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1396/0.1459, allocations: 245.3 kB / 302.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.146, allocations: 384 / 302.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.146, allocations: 1.469 kB / 302.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1461, allocations: 177.4 kB / 302.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1461, allocations: 2.375 kB / 302.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1461, allocations: 2.625 kB / 302.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1462, allocations: 1.062 kB / 302.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.1462, allocations: 5.641 kB / 302.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1465, allocations: 175.5 kB / 302.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.1465, allocations: 25.48 kB / 302.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.1465, allocations: 8.453 kB / 302.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.1465, allocations: 0 / 302.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1466, allocations: 59.86 kB / 302.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.1466, allocations: 3.438 kB / 302.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001565/0.1467, allocations: 58.56 kB / 302.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1468, allocations: 157 kB / 302.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.147, allocations: 237.3 kB / 303 MB, free: 14.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.147, allocations: 26.73 kB / 303 MB, free: 14.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.147, allocations: 112.8 kB / 303.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.147, allocations: 8.703 kB / 303.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1471, allocations: 20.03 kB / 303.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.1471, allocations: 330.7 kB / 303.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.1471, allocations: 7.297 kB / 303.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.487e-05/0.1472, allocations: 145.5 kB / 303.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.925e-05/0.1472, allocations: 18.33 kB / 303.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1472, allocations: 0 / 303.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.022e-05/0.1473, allocations: 55.2 kB / 303.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1473, allocations: 5.438 kB / 303.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1473, allocations: 1.094 kB / 303.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1473, allocations: 0 / 303.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.896e-05/0.1473, allocations: 8 kB / 303.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1473, allocations: 1.031 kB / 303.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.1474, allocations: 18.19 kB / 303.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1474, allocations: 5 kB / 303.7 MB, free: 13.92 MB / 282.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.114e-05/0.1475, allocations: 129.5 kB / 303.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1475, allocations: 16.81 kB / 303.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.1475, allocations: 21.11 kB / 303.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1475, allocations: 1.188 kB / 303.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1475, allocations: 0 / 303.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1475, allocations: 0.7969 kB / 303.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.1476, allocations: 171.8 kB / 304.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.1476, allocations: 0 / 304.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.1477, allocations: 7.109 kB / 304.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1477, allocations: 0 / 304.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1477, allocations: 0.75 kB / 304.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-07/0.1477, allocations: 1.25 kB / 304.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1477, allocations: 6.062 kB / 304.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.654e-05/0.1478, allocations: 85.42 kB / 304.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1478, allocations: 39.55 kB / 304.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1478, allocations: 8.344 kB / 304.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.1479, allocations: 13.38 kB / 304.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.1479, allocations: 1.938 kB / 304.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1479, allocations: 1.094 kB / 304.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.148, allocations: 184.4 kB / 304.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.148, allocations: 0 / 304.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.1482, allocations: 22.5 kB / 304.4 MB, free: 13.48 MB / 282.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.0003859/0.1486, allocations: 0.6879 MB / 305.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.1486, allocations: 13.7 kB / 305.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1486, allocations: 0 / 305.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.1486, allocations: 5.25 kB / 305.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1488, allocations: 24.75 kB / 305.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.15, allocations: 1.715 MB / 306.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.709e-05/0.1501, allocations: 100.4 kB / 307 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.1501, allocations: 37.48 kB / 307 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.1502, allocations: 71.23 kB / 307.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1502, allocations: 0.5312 kB / 307.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.1708, allocations: 4.866 MB / 312 MB, free: 9.996 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.451, allocations: 1 kB / 312 MB, free: 9.996 MB / 282.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/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: 9.441469622775912]