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.001118/0.001118, 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 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.001357/0.001357, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.476/1.476, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001594/0.001594, allocations: 51.92 kB / 373 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1235, allocations: 53.33 MB / 426.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001814/0.1253, allocations: 0.5196 MB / 426.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1281, allocations: 1.866 MB / 428.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.1281, allocations: 0 / 428.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.1302, allocations: 171.6 kB / 428.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.1302, allocations: 19.98 kB / 428.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1304, allocations: 39.88 kB / 428.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1306, allocations: 43.91 kB / 428.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.1306, allocations: 11.92 kB / 429 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.1307, allocations: 39.84 kB / 429 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.738e-05/0.1308, allocations: 23.91 kB / 429 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1308, allocations: 0 / 429 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.1309, allocations: 12 kB / 429 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.131, allocations: 51.89 kB / 429.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.131, allocations: 39.67 kB / 429.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1313, allocations: 99.47 kB / 429.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1313, allocations: 0 / 429.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1313, allocations: 0 / 429.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1313, allocations: 4 kB / 429.2 MB, free: 1.926 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.0006906/0.132, allocations: 484.4 kB / 429.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.132, allocations: 19.97 kB / 429.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1321, allocations: 30.75 kB / 429.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.1321, allocations: 12.89 kB / 429.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1324, allocations: 241 kB / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1324, allocations: 384 / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.1324, allocations: 384 / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1326, allocations: 78.11 kB / 430.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1326, allocations: 3.938 kB / 430.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1326, allocations: 7.938 kB / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1326, allocations: 0 / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.1326, allocations: 0 / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.133, allocations: 197.7 kB / 430.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.631e-05/0.1331, allocations: 18.58 kB / 430.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.1331, allocations: 8.922 kB / 430.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.1331, allocations: 7.984 kB / 430.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.211e-05/0.1332, allocations: 68.19 kB / 430.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1332, allocations: 0 / 430.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.1333, allocations: 53.55 kB / 430.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1334, allocations: 154.2 kB / 430.6 MB, free: 332 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1337, allocations: 223.8 kB / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1337, allocations: 25.7 kB / 430.8 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.1338, allocations: 116.2 kB / 430.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1338, allocations: 3.938 kB / 430.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.1338, allocations: 21.72 kB / 431 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.134, allocations: 322.8 kB / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.134, allocations: 4 kB / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.1341, allocations: 40.28 kB / 431.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.1341, allocations: 24.86 kB / 431.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1341, allocations: 3.984 kB / 431.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.1342, allocations: 53.55 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1342, allocations: 4 kB / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1342, allocations: 3.938 kB / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1342, allocations: 0 / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.318e-05/0.1343, allocations: 4 kB / 431.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.1343, allocations: 0 / 431.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1344, allocations: 15.98 kB / 431.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-06/0.1344, allocations: 4.031 kB / 431.4 MB, free: 15.41 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.0001084/0.1345, allocations: 125.8 kB / 431.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.1345, allocations: 19.84 kB / 431.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.1346, allocations: 24.48 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1346, allocations: 0 / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1346, allocations: 0 / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1346, allocations: 0 / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.1348, allocations: 197.6 kB / 431.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1348, allocations: 0 / 431.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.1348, allocations: 7.938 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1348, allocations: 0 / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1349, allocations: 0 / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1349, allocations: 4 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1349, allocations: 0 / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.135, allocations: 80.97 kB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1351, allocations: 109 kB / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1351, allocations: 4.094 kB / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.1352, allocations: 11.98 kB / 432 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.1352, allocations: 0 / 432 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.1352, allocations: 0 / 432 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1354, allocations: 169.4 kB / 432.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1354, allocations: 4 kB / 432.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.1356, allocations: 8 kB / 432.2 MB, free: 14.56 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.0008164/0.1364, allocations: 0.6626 MB / 432.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.594e-05/0.1365, allocations: 24.08 kB / 432.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1365, allocations: 0 / 432.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.137e-05/0.1365, allocations: 7.875 kB / 432.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.1367, allocations: 13.88 kB / 432.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.139, allocations: 1.787 MB / 434.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.1394, allocations: 0.7123 MB / 435.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.862e-05/0.1395, allocations: 36.48 kB / 435.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.1396, allocations: 63.38 kB / 435.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1396, allocations: 4 kB / 435.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.1705, allocations: 3.721 MB / 439.2 MB, free: 7.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.271, allocations: 6.969 kB / 439.2 MB, free: 7.52 MB / 366.1 MB " [Timeout remaining time 652] (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: 11.034274752004421]