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.001235/0.001235, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001399/0.001399, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.467/1.467, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001867/0.001867, allocations: 68.12 kB / 373.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 53.32 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001578/0.1092, allocations: 0.5208 MB / 427.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1116, allocations: 1.863 MB / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.1116, allocations: 0 / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002704/0.1143, allocations: 153.3 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.1144, allocations: 31.91 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.1146, allocations: 42.77 kB / 429.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1147, allocations: 47.83 kB / 429.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.1147, allocations: 11.98 kB / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.1148, allocations: 27.92 kB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.1149, allocations: 23.84 kB / 429.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1149, allocations: 0 / 429.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.1149, allocations: 12 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.512e-05/0.115, allocations: 55.83 kB / 429.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.1151, allocations: 39.73 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1153, allocations: 99.47 kB / 429.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1153, allocations: 4 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1153, allocations: 0 / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1153, allocations: 0 / 429.8 MB, free: 1.961 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.0006414/0.1159, allocations: 488.3 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.116, allocations: 15.97 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.116, allocations: 34.75 kB / 430.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.1161, allocations: 12.89 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1164, allocations: 233.1 kB / 430.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1164, allocations: 4.375 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1164, allocations: 4.375 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1165, allocations: 78.03 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1165, allocations: 3.938 kB / 430.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1165, allocations: 4 kB / 430.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1165, allocations: 4 kB / 430.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.484e-05/0.1166, allocations: 0 / 430.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.1169, allocations: 205.6 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.098e-05/0.1169, allocations: 14.58 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.1169, allocations: 8.922 kB / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.117, allocations: 0 / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.117, allocations: 68.19 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.117, allocations: 4 kB / 430.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000147/0.1172, allocations: 53.55 kB / 431 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.1173, allocations: 154.2 kB / 431.1 MB, free: 364 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1175, allocations: 223.8 kB / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1175, allocations: 25.7 kB / 431.4 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1738/0.2913, allocations: 111.3 kB / 431.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.2913, allocations: 3.375 kB / 431.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.2914, allocations: 21.41 kB / 431.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.2914, allocations: 322.1 kB / 431.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.2914, allocations: 10.77 kB / 431.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.2915, allocations: 40.58 kB / 431.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.2915, allocations: 12.11 kB / 431.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2915, allocations: 3.062 kB / 431.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001329/0.2917, allocations: 58.95 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2917, allocations: 5.062 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2917, allocations: 0.8125 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2917, allocations: 0.75 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.2918, allocations: 7.812 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2918, allocations: 4.734 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2919, allocations: 6.656 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2919, allocations: 0.875 kB / 432 MB, free: 10.93 MB / 350.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 9.508e-05/0.292, allocations: 135.6 kB / 432.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.292, allocations: 14.83 kB / 432.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.2921, allocations: 18.78 kB / 432.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2921, allocations: 6.594 kB / 432.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2921, allocations: 2.25 kB / 432.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2921, allocations: 0.9062 kB / 432.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.2923, allocations: 189.8 kB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2923, allocations: 0.5156 kB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.2923, allocations: 2.812 kB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2923, allocations: 0.6875 kB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2923, allocations: 2.594 kB / 432.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2923, allocations: 3.938 kB / 432.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2923, allocations: 5.281 kB / 432.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.2924, allocations: 82 kB / 432.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2925, allocations: 106.3 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.2925, allocations: 2.781 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.2926, allocations: 11.67 kB / 432.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.2926, allocations: 1.766 kB / 432.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.2926, allocations: 2.75 kB / 432.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.2928, allocations: 169 kB / 432.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2928, allocations: 0 / 432.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.293, allocations: 11.09 kB / 432.7 MB, free: 10.36 MB / 350.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.0005236/0.2936, allocations: 0.6686 MB / 433.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.72e-05/0.2937, allocations: 13.59 kB / 433.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2937, allocations: 0.9688 kB / 433.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.2937, allocations: 6.406 kB / 433.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.2939, allocations: 19.44 kB / 433.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.2956, allocations: 1.784 MB / 435.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.2957, allocations: 0.7078 MB / 435.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.061e-05/0.2958, allocations: 37.11 kB / 436 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.2959, allocations: 75.17 kB / 436 MB, free: 7.926 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2959, allocations: 3.938 kB / 436.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.3365, allocations: 3.713 MB / 439.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.386, allocations: 9.109 kB / 439.8 MB, free: 7.262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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.752854563295841] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.503831348847598 8.516006499 8.398433625000001 Calling exit ...