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.001532/0.001532, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001609/0.001609, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.051 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.001967/0.001967, allocations: 68.75 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2788, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001701/0.2805, allocations: 0.5317 MB / 432.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2834, allocations: 1.949 MB / 434.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.2834, allocations: 0 / 434.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.2881, allocations: 162 kB / 434.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2882, allocations: 19.97 kB / 434.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.2886, allocations: 46.38 kB / 434.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.2887, allocations: 51.83 kB / 434.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.2888, allocations: 0 / 434.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2889, allocations: 31.84 kB / 434.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2891, allocations: 27.92 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.2891, allocations: 0 / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-05/0.2892, allocations: 19.98 kB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2893, allocations: 47.83 kB / 434.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2894, allocations: 39.73 kB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.2898, allocations: 101.6 kB / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2898, allocations: 0 / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2898, allocations: 0 / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2898, allocations: 0 / 434.9 MB, free: 3.902 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.001039/0.2909, allocations: 415.2 kB / 435.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.2909, allocations: 19.97 kB / 435.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.291, allocations: 34.69 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.2911, allocations: 8.891 kB / 435.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.2915, allocations: 187.1 kB / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2916, allocations: 384 / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2916, allocations: 384 / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.2918, allocations: 78.11 kB / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2918, allocations: 0 / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2918, allocations: 0 / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2918, allocations: 3.938 kB / 435.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.2919, allocations: 7.984 kB / 435.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.2924, allocations: 172.7 kB / 435.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/0.2925, allocations: 18.58 kB / 435.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.2926, allocations: 8.844 kB / 435.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.2926, allocations: 8.062 kB / 435.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.792e-05/0.2927, allocations: 60.2 kB / 435.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.883e-06/0.2927, allocations: 0 / 435.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002946/0.293, allocations: 57.48 kB / 436 MB, free: 2.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.2931, allocations: 162.2 kB / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.2936, allocations: 211.8 kB / 436.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2936, allocations: 25.7 kB / 436.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2937, allocations: 120.2 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2937, allocations: 0 / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.2938, allocations: 17.72 kB / 436.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.2941, allocations: 326.8 kB / 436.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.2941, allocations: 7.984 kB / 436.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.606e-05/0.2942, allocations: 40.3 kB / 436.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.2943, allocations: 24.84 kB / 436.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2943, allocations: 0 / 436.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.2944, allocations: 57.59 kB / 436.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.2945, allocations: 6.344 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2945, allocations: 3.984 kB / 437 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2945, allocations: 0 / 437 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.2946, allocations: 4 kB / 437 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2946, allocations: 3.984 kB / 437 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.2947, allocations: 8 kB / 437 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2948, allocations: 4.031 kB / 437 MB, free: 1.578 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.0002005/0.295, allocations: 137.8 kB / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.295, allocations: 19.84 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.2951, allocations: 20.44 kB / 437.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2951, allocations: 0 / 437.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2951, allocations: 0 / 437.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2951, allocations: 7.875 kB / 437.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.2955, allocations: 164.7 kB / 437.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2955, allocations: 0 / 437.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.2955, allocations: 7.938 kB / 437.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2955, allocations: 0 / 437.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2955, allocations: 0 / 437.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2955, allocations: 0 / 437.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.2955, allocations: 4 kB / 437.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.2958, allocations: 77.03 kB / 437.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.296, allocations: 35.89 kB / 437.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.296, allocations: 8.078 kB / 437.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.2962, allocations: 11.94 kB / 437.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.2962, allocations: 0 / 437.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2962, allocations: 0 / 437.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.2965, allocations: 165.4 kB / 437.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2965, allocations: 4 kB / 437.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000425/0.2969, allocations: 12 kB / 437.6 MB, free: 0.8477 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.001148/0.2981, allocations: 0.6656 MB / 438.3 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.2982, allocations: 16.08 kB / 438.3 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.2982, allocations: 4 kB / 438.3 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.2983, allocations: 3.938 kB / 438.3 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2986, allocations: 16 kB / 438.3 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.302, allocations: 1.783 MB / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.3026, allocations: 0.7084 MB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.3027, allocations: 36.58 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.3029, allocations: 67.38 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3029, allocations: 4 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/0.3442, allocations: 3.724 MB / 444.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.561, allocations: 7.453 kB / 444.7 MB, free: 9.75 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.919295404106379] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.681670455727726 8.698425177 8.405132283 Calling exit ...