Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.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.001615/0.001615, allocations: 110.5 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.001922/0.001922, allocations: 213.2 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.WriteRealMatrixToFile,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_WriteRealMatrixToFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.WriteRealMatrixToFile,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_WriteRealMatrixToFile",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.001966/0.001966, allocations: 72.75 kB / 378.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2822, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001677/0.2839, allocations: 487.5 kB / 432.4 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002808/0.2842, allocations: 67.78 kB / 432.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.2842, allocations: 0 / 432.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.2843, allocations: 3.938 kB / 432.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.2843, allocations: 11.98 kB / 432.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.2845, allocations: 23.97 kB / 432.5 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2846, allocations: 23.91 kB / 432.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.2847, allocations: 0 / 432.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.2847, allocations: 15.98 kB / 432.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.2848, allocations: 31.89 kB / 432.5 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2848, allocations: 0 / 432.5 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.113e-05/0.2848, allocations: 4 kB / 432.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.2849, allocations: 7.125 kB / 432.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2849, allocations: 11.94 kB / 432.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.285, allocations: 26.02 kB / 432.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.285, allocations: 7.938 kB / 432.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.285, allocations: 0 / 432.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.285, allocations: 0 / 432.6 MB, free: 6.215 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003922/0.2854, allocations: 295.9 kB / 432.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2855, allocations: 8.031 kB / 432.9 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.2855, allocations: 42.7 kB / 432.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.2856, allocations: 4.875 kB / 432.9 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2857, allocations: 110.5 kB / 433 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2857, allocations: 8.297 kB / 433 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.2857, allocations: 4.375 kB / 433.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.2858, allocations: 66.25 kB / 433.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2859, allocations: 11.92 kB / 433.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2859, allocations: 4 kB / 433.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2859, allocations: 0 / 433.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.2859, allocations: 31.97 kB / 433.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.2862, allocations: 223.9 kB / 433.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.2863, allocations: 62.5 kB / 433.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.2864, allocations: 52.89 kB / 433.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.2864, allocations: 4 kB / 433.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.2864, allocations: 60.27 kB / 433.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.2864, allocations: 0 / 433.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003472/0.2868, allocations: 215.4 kB / 433.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.2868, allocations: 81.11 kB / 433.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2869, allocations: 113.8 kB / 434 MB, free: 4.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.287, allocations: 29.7 kB / 434 MB, free: 4.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.287, allocations: 88.14 kB / 434.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.287, allocations: 11.91 kB / 434.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.2871, allocations: 21.72 kB / 434.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2872, allocations: 318.8 kB / 434.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.2873, allocations: 35.98 kB / 434.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.2873, allocations: 28.22 kB / 434.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2874, allocations: 136.3 kB / 434.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2874, allocations: 0 / 434.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001997/0.2876, allocations: 183.1 kB / 434.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.2877, allocations: 37.69 kB / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2877, allocations: 0 / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2877, allocations: 4 kB / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/0.2877, allocations: 0 / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2877, allocations: 0 / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.2877, allocations: 0 / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2877, allocations: 4 kB / 434.8 MB, free: 3.719 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: 8 ($outputAlias_success4,success4,$outputAlias_success3,success3,$outputAlias_success2,success2,$outputAlias_success1,success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001239/0.2879, allocations: 155.4 kB / 435 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.2879, allocations: 15.89 kB / 435 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.2879, allocations: 8.375 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2879, allocations: 0 / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2879, allocations: 0 / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2879, allocations: 0 / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.2883, allocations: 419.2 kB / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2883, allocations: 0 / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-06/0.2883, allocations: 0 / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2883, allocations: 0 / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2883, allocations: 4 kB / 435.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2883, allocations: 4 kB / 435.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2883, allocations: 3.984 kB / 435.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.2886, allocations: 301.5 kB / 435.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.2886, allocations: 3.984 kB / 435.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2886, allocations: 4 kB / 435.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.191e-05/0.2887, allocations: 64 / 435.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.2887, allocations: 8 kB / 435.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2887, allocations: 0 / 435.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.004e-05/0.2888, allocations: 99.27 kB / 435.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2888, allocations: 0 / 435.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.289, allocations: 11.94 kB / 435.9 MB, free: 2.605 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (success1,$outputAlias_success1,success2,$outputAlias_success2,success3,$outputAlias_success3,success4,$outputAlias_success4) * Number of discrete states: 4 ($outputAlias_success4,$outputAlias_success3,$outputAlias_success2,$outputAlias_success1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0008257/0.2898, allocations: 0.912 MB / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.29, allocations: 143.4 kB / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.29, allocations: 0 / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.2901, allocations: 91.39 kB / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.2903, allocations: 11.98 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2917, allocations: 1.554 MB / 438.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2921, allocations: 0.6807 MB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.58e-05/0.2921, allocations: 4 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2921, allocations: 11.44 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2921, allocations: 4 kB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.3163, allocations: 1.949 MB / 441.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.355, allocations: 19.09 kB / 441.2 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile_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_WriteRealMatrixToFile.fmu > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.87290350208059] Failed to read output from testmodel.py, exit status != 0: ['time', 'success1', 'success2', 'success3', 'success4'] 8.473955090623349 8.490426239 8.202372009 Calling exit ...