Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 214.6 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1182, allocations: 53.38 MB / 426.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001724/0.12, allocations: 0.5128 MB / 426.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1226, allocations: 1.866 MB / 428.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.1226, allocations: 0 / 428.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004333/0.127, allocations: 168.7 kB / 428.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.127, allocations: 19.98 kB / 428.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.1272, allocations: 47.23 kB / 428.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1273, allocations: 47.89 kB / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.1274, allocations: 11.94 kB / 429 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.1275, allocations: 31.86 kB / 429 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.1275, allocations: 26.48 kB / 429.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1276, allocations: 0 / 429.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.1276, allocations: 12 kB / 429.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.1277, allocations: 47.89 kB / 429.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.1278, allocations: 47.66 kB / 429.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.128, allocations: 95.48 kB / 429.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.128, allocations: 0 / 429.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.128, allocations: 0 / 429.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.128, allocations: 0 / 429.3 MB, free: 1.73 MB / 350.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.0006652/0.1287, allocations: 496.3 kB / 429.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1287, allocations: 8.031 kB / 429.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.1288, allocations: 34.75 kB / 429.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.1288, allocations: 8.891 kB / 429.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1291, allocations: 249 kB / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.1291, allocations: 384 / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1292, allocations: 384 / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1293, allocations: 78.11 kB / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1293, allocations: 0 / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1293, allocations: 0 / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1293, allocations: 0 / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.1293, allocations: 7.938 kB / 430.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1297, allocations: 193.7 kB / 430.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/0.1298, allocations: 26.56 kB / 430.3 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.1298, allocations: 4.859 kB / 430.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-06/0.1298, allocations: 0 / 430.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/0.1298, allocations: 68.27 kB / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1298, allocations: 0 / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001663/0.13, allocations: 53.53 kB / 430.5 MB, free: 328 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.1301, allocations: 158.2 kB / 430.6 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.1304, allocations: 223.8 kB / 430.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1304, allocations: 29.7 kB / 430.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.1305, allocations: 112.1 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.1305, allocations: 3.938 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.1305, allocations: 21.7 kB / 431 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1307, allocations: 326.8 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.1307, allocations: 0 / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.1308, allocations: 52.28 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.1308, allocations: 20.8 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1308, allocations: 0 / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.966e-05/0.1309, allocations: 53.55 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1309, allocations: 4 kB / 431.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1309, allocations: 7.922 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1309, allocations: 0 / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-05/0.131, allocations: 4 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.131, allocations: 4.094 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.1311, allocations: 8 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1311, allocations: 0 / 431.5 MB, free: 15.22 MB / 366.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.0001121/0.1312, allocations: 129.8 kB / 431.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1312, allocations: 19.84 kB / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.1313, allocations: 20.55 kB / 431.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1313, allocations: 0 / 431.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1313, allocations: 0 / 431.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1313, allocations: 0 / 431.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1315, allocations: 197.6 kB / 431.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1315, allocations: 0 / 431.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.1315, allocations: 11.88 kB / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1315, allocations: 0 / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1315, allocations: 0 / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1315, allocations: 0 / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1315, allocations: 48 / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.1317, allocations: 89.05 kB / 431.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1318, allocations: 113 kB / 432 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1318, allocations: 0 / 432 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.1319, allocations: 8 kB / 432 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.1319, allocations: 0 / 432 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1319, allocations: 0 / 432 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1321, allocations: 165.5 kB / 432.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1321, allocations: 0 / 432.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1323, allocations: 12 kB / 432.2 MB, free: 14.37 MB / 366.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.0007224/0.1331, allocations: 0.6714 MB / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.461e-05/0.1331, allocations: 12 kB / 432.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1332, allocations: 0 / 432.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.1332, allocations: 7.938 kB / 432.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.1333, allocations: 14.66 kB / 432.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1354, allocations: 1.794 MB / 434.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1358, allocations: 0.7084 MB / 435.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.141e-05/0.1359, allocations: 44.53 kB / 435.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.136, allocations: 67.38 kB / 435.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.136, allocations: 0 / 435.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.1693, allocations: 3.701 MB / 439.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.175, allocations: 11.02 kB / 439.2 MB, free: 7.309 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 11.077960661961697]