Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001723/0.001723, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002101/0.002101, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.492/1.492, allocations: 230.5 MB / 254.8 MB, free: 15.27 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-beta.om/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_4_1_0-beta_om_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 79.8 kB / 373.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1026, allocations: 53.32 MB / 427 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001756/0.1044, allocations: 0.5268 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.107, allocations: 1.862 MB / 429.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.1071, allocations: 0 / 429.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.1095, allocations: 168.5 kB / 429.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.1095, allocations: 15.98 kB / 429.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1097, allocations: 51.11 kB / 429.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1098, allocations: 39.89 kB / 429.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.1099, allocations: 11.94 kB / 429.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.11, allocations: 35.84 kB / 429.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.1101, allocations: 23.92 kB / 429.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1101, allocations: 0 / 429.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.1101, allocations: 15.98 kB / 429.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.1102, allocations: 43.91 kB / 429.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.1103, allocations: 47.66 kB / 429.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1105, allocations: 95.48 kB / 429.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1105, allocations: 0 / 429.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.676e-06/0.1105, allocations: 3.984 kB / 429.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1105, allocations: 0 / 429.9 MB, free: 1.922 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.0006444/0.1112, allocations: 488.4 kB / 430.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1112, allocations: 12.03 kB / 430.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.1113, allocations: 30.75 kB / 430.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.1113, allocations: 20.81 kB / 430.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1116, allocations: 245 kB / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-06/0.1116, allocations: 384 / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1116, allocations: 4.359 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1118, allocations: 74.11 kB / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1118, allocations: 0 / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1118, allocations: 0 / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1118, allocations: 0 / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.1118, allocations: 11.88 kB / 430.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.1122, allocations: 197.7 kB / 431 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.412e-05/0.1122, allocations: 22.58 kB / 431 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.1122, allocations: 4.859 kB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.1122, allocations: 4 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.1123, allocations: 64.27 kB / 431.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1123, allocations: 0 / 431.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000163/0.1125, allocations: 57.53 kB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.1126, allocations: 158.2 kB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.1129, allocations: 211.8 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1129, allocations: 25.7 kB / 431.5 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.113, allocations: 124.2 kB / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.1131, allocations: 3.938 kB / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1131, allocations: 17.7 kB / 431.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1133, allocations: 326.8 kB / 432 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.1133, allocations: 4 kB / 432 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.1133, allocations: 44.28 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.1134, allocations: 16.86 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1134, allocations: 0 / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.1135, allocations: 61.53 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1135, allocations: 8 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.1135, allocations: 3.938 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1135, allocations: 0 / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.172e-05/0.1135, allocations: 8 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1135, allocations: 0 / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.1136, allocations: 4 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1136, allocations: 8.031 kB / 432.1 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.0001037/0.1137, allocations: 129.8 kB / 432.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1138, allocations: 19.84 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.1138, allocations: 12.56 kB / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1138, allocations: 4 kB / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1138, allocations: 0 / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1138, allocations: 0 / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.114, allocations: 189.6 kB / 432.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.114, allocations: 3.938 kB / 432.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.1141, allocations: 11.94 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1141, allocations: 0 / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1141, allocations: 0 / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1141, allocations: 3.984 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1141, allocations: 0 / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.1142, allocations: 81.03 kB / 432.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1143, allocations: 105 kB / 432.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1143, allocations: 12.03 kB / 432.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.1144, allocations: 8 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.1144, allocations: 4 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1145, allocations: 3.984 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1146, allocations: 157.5 kB / 432.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1146, allocations: 0 / 432.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.1148, allocations: 12 kB / 432.9 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.0007219/0.1155, allocations: 0.6826 MB / 433.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.9e-05/0.1156, allocations: 12.09 kB / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1156, allocations: 0 / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.1156, allocations: 11.92 kB / 433.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.1158, allocations: 12 kB / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1178, allocations: 1.787 MB / 435.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1182, allocations: 0.7084 MB / 436.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.646e-05/0.1183, allocations: 32.48 kB / 436.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1184, allocations: 71.38 kB / 436.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1184, allocations: 4 kB / 436.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.1498, allocations: 3.714 MB / 439.9 MB, free: 7.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.373, allocations: 13.95 kB / 439.9 MB, free: 7.531 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.158427954185754] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.496991938911378 8.701482711 8.58876611 Calling exit ...