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.001259/0.001259, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.00164/0.00164, allocations: 218.1 kB / 23 MB, free: 5.582 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.418/1.418, allocations: 230.5 MB / 256.5 MB, free: 8.176 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.001933/0.001933, allocations: 59.91 kB / 376.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2576, allocations: 53.32 MB / 429.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001567/0.2592, allocations: 0.5268 MB / 430 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.2615, allocations: 1.921 MB / 431.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.2616, allocations: 0 / 431.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.2639, allocations: 168 kB / 432.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.264, allocations: 23.92 kB / 432.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2642, allocations: 43.5 kB / 432.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2643, allocations: 47.83 kB / 432.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.2643, allocations: 7.984 kB / 432.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.2644, allocations: 23.92 kB / 432.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.2645, allocations: 31.84 kB / 432.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.2645, allocations: 4 kB / 432.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.808e-05/0.2646, allocations: 8 kB / 432.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.2647, allocations: 55.83 kB / 432.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.2647, allocations: 35.73 kB / 432.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.265, allocations: 103.9 kB / 432.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.265, allocations: 0 / 432.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.265, allocations: 0 / 432.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.265, allocations: 0 / 432.5 MB, free: 4.422 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.000638/0.2656, allocations: 496.3 kB / 433 MB, free: 3.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2657, allocations: 8.031 kB / 433 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.2657, allocations: 30.75 kB / 433 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.2657, allocations: 12.89 kB / 433 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.266, allocations: 241 kB / 433.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.266, allocations: 384 / 433.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.266, allocations: 384 / 433.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.2662, allocations: 82.05 kB / 433.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2662, allocations: 0 / 433.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2662, allocations: 0 / 433.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2662, allocations: 0 / 433.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.2662, allocations: 4 kB / 433.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.2666, allocations: 197.7 kB / 433.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.285e-05/0.2666, allocations: 22.52 kB / 433.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.2666, allocations: 12.92 kB / 433.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.2666, allocations: 0 / 433.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.2667, allocations: 64.19 kB / 433.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.2667, allocations: 4 kB / 433.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.2668, allocations: 53.59 kB / 433.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.2669, allocations: 162.1 kB / 433.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.2672, allocations: 223.8 kB / 434.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.2672, allocations: 25.7 kB / 434.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.2673, allocations: 116.2 kB / 434.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2673, allocations: 7.938 kB / 434.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.2673, allocations: 17.72 kB / 434.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2675, allocations: 326.8 kB / 434.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.2675, allocations: 4 kB / 434.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.2676, allocations: 44.28 kB / 434.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/0.2676, allocations: 16.91 kB / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.2676, allocations: 0 / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.368e-05/0.2677, allocations: 61.48 kB / 434.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2677, allocations: 4 kB / 434.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2677, allocations: 8 kB / 434.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2677, allocations: 0 / 434.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.512e-05/0.2678, allocations: 0 / 434.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2678, allocations: 4 kB / 434.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.2679, allocations: 8.016 kB / 434.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.2679, allocations: 7.984 kB / 434.7 MB, free: 1.902 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.0001111/0.268, allocations: 133.8 kB / 434.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.268, allocations: 15.84 kB / 434.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.268, allocations: 24.5 kB / 434.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.268, allocations: 0 / 434.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2681, allocations: 4 kB / 434.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2681, allocations: 0 / 434.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.2683, allocations: 189.6 kB / 435.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2683, allocations: 4 kB / 435.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.2683, allocations: 7.938 kB / 435.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2683, allocations: 0 / 435.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2683, allocations: 0 / 435.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2683, allocations: 0 / 435.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2683, allocations: 0 / 435.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.2685, allocations: 80.97 kB / 435.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.2686, allocations: 113 kB / 435.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.2686, allocations: 12.08 kB / 435.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.2687, allocations: 4 kB / 435.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.2687, allocations: 7.938 kB / 435.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.2687, allocations: 0 / 435.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.2689, allocations: 165.5 kB / 435.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2689, allocations: 0 / 435.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.2691, allocations: 12 kB / 435.5 MB, free: 1.043 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.0006486/0.2697, allocations: 0.6649 MB / 436.1 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.665e-05/0.2698, allocations: 16.08 kB / 436.1 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2698, allocations: 0 / 436.1 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.2698, allocations: 8 kB / 436.2 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.27, allocations: 11.94 kB / 436.2 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.272, allocations: 1.791 MB / 438 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.2724, allocations: 0.7123 MB / 438.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.078e-05/0.2724, allocations: 36.42 kB / 438.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2725, allocations: 71.38 kB / 438.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2725, allocations: 0 / 438.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.306, allocations: 3.681 MB / 442.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.114, allocations: 3.938 kB / 442.5 MB, free: 10.01 MB / 350.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 & /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 --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.40247539698612] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.231813977996353 8.246308936 7.97796449 Calling exit ...