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.001338/0.001338, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001636/0.001636, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.002139/0.002139, allocations: 64.56 kB / 378.5 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.284, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001813/0.2859, allocations: 0.538 MB / 432.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.2885, allocations: 1.949 MB / 434.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.2886, allocations: 0 / 434.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004778/0.2933, allocations: 164.5 kB / 434.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.414e-05/0.2934, allocations: 27.91 kB / 434.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2936, allocations: 43.44 kB / 434.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2937, allocations: 51.77 kB / 434.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.2937, allocations: 0 / 434.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.2938, allocations: 31.92 kB / 434.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.2939, allocations: 27.84 kB / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2939, allocations: 0 / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.294, allocations: 19.98 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.2941, allocations: 51.83 kB / 434.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.2941, allocations: 39.73 kB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.2944, allocations: 96.33 kB / 434.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2944, allocations: 0 / 434.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2944, allocations: 0 / 434.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.2944, allocations: 0 / 434.9 MB, free: 3.914 MB / 334.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.0006263/0.295, allocations: 419.2 kB / 435.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.295, allocations: 12.03 kB / 435.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.2951, allocations: 30.75 kB / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.2951, allocations: 8.891 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.2954, allocations: 191.1 kB / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-06/0.2954, allocations: 384 / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.2954, allocations: 384 / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2956, allocations: 86.05 kB / 435.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2956, allocations: 0 / 435.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2956, allocations: 4 kB / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2956, allocations: 0 / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.2956, allocations: 4 kB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.2959, allocations: 172.7 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.296, allocations: 22.52 kB / 435.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.296, allocations: 12.84 kB / 435.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.296, allocations: 4.062 kB / 435.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.2961, allocations: 64.2 kB / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2961, allocations: 0 / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001565/0.2962, allocations: 53.53 kB / 436 MB, free: 2.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.661e-05/0.2963, allocations: 162.2 kB / 436.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.2966, allocations: 215.8 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2966, allocations: 33.77 kB / 436.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.2967, allocations: 112.1 kB / 436.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.2967, allocations: 3.984 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2967, allocations: 17.72 kB / 436.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2969, allocations: 326.8 kB / 436.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.2969, allocations: 4 kB / 436.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.2969, allocations: 44.28 kB / 436.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.297, allocations: 16.86 kB / 436.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.297, allocations: 0 / 436.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.274e-05/0.2971, allocations: 61.47 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2971, allocations: 4 kB / 437 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2971, allocations: 0 / 437 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2971, allocations: 0 / 437 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.797e-05/0.2971, allocations: 4 kB / 437 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2971, allocations: 0 / 437 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.2972, allocations: 16.09 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2972, allocations: 0 / 437 MB, free: 1.586 MB / 334.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.2973, allocations: 129.8 kB / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.2974, allocations: 19.84 kB / 437.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.2974, allocations: 20.45 kB / 437.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2974, allocations: 0 / 437.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2974, allocations: 0 / 437.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2974, allocations: 0 / 437.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2976, allocations: 164.7 kB / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2976, allocations: 4 kB / 437.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.2976, allocations: 3.938 kB / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2976, allocations: 0 / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2976, allocations: 0 / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2976, allocations: 3.984 kB / 437.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2977, allocations: 4 kB / 437.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.2978, allocations: 80.97 kB / 437.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.2979, allocations: 31.98 kB / 437.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2979, allocations: 4 kB / 437.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.298, allocations: 15.94 kB / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-06/0.298, allocations: 0 / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.298, allocations: 0 / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.2981, allocations: 169.4 kB / 437.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2981, allocations: 4 kB / 437.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.2983, allocations: 8 kB / 437.6 MB, free: 0.8672 MB / 334.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.0006728/0.299, allocations: 0.6652 MB / 438.3 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.831e-05/0.2991, allocations: 16.09 kB / 438.3 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.2991, allocations: 4 kB / 438.3 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.2991, allocations: 3.984 kB / 438.3 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.2993, allocations: 16.91 kB / 438.3 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3013, allocations: 1.795 MB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3017, allocations: 0.7084 MB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.904e-05/0.3018, allocations: 36.58 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.3019, allocations: 71.38 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3019, allocations: 0 / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3338, allocations: 3.721 MB / 444.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.386, allocations: 4 kB / 444.7 MB, free: 9.766 MB / 350.1 MB " [Timeout remaining time 651] (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: 10.873148728627712] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.508674804121256 8.530575158 8.232137176 Calling exit ...