Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.009931/0.009931, allocations: 110 kB / 21.97 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 211.5 kB / 25.27 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 207.6 MB / 236 MB, free: 10.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 51.92 kB / 348 MB, free: 10.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2339, allocations: 49.16 MB / 397.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001508/0.2354, allocations: 0.5403 MB / 397.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2372, allocations: 1.925 MB / 399.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.2373, allocations: 3.938 kB / 399.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.2392, allocations: 146.5 kB / 399.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.2392, allocations: 24.62 kB / 399.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.2394, allocations: 44.2 kB / 399.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2395, allocations: 49.59 kB / 399.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.2396, allocations: 4.719 kB / 399.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.2396, allocations: 36.83 kB / 399.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2397, allocations: 31.83 kB / 399.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2398, allocations: 1.406 kB / 399.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.2398, allocations: 19.69 kB / 399.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.2399, allocations: 55.62 kB / 400 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.24, allocations: 43.48 kB / 400 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.2402, allocations: 106.4 kB / 400.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2402, allocations: 0 / 400.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2402, allocations: 0 / 400.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2402, allocations: 2.172 kB / 400.1 MB, free: 7.031 MB / 318.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.0005082/0.2407, allocations: 418.5 kB / 400.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2408, allocations: 13.02 kB / 400.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.2408, allocations: 1.438 kB / 400.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.863e-05/0.2408, allocations: 31.81 kB / 400.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.2408, allocations: 15.3 kB / 400.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.2413, allocations: 234.2 kB / 400.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2413, allocations: 1.812 kB / 400.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.2413, allocations: 4.312 kB / 400.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2414, allocations: 74.52 kB / 400.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2414, allocations: 3.984 kB / 400.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2414, allocations: 2.141 kB / 400.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.2414, allocations: 0 / 400.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.2415, allocations: 6.938 kB / 400.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.2417, allocations: 175.1 kB / 401.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.493e-05/0.2418, allocations: 21.84 kB / 401.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.2418, allocations: 7.047 kB / 401.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.2418, allocations: 4.781 kB / 401.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2418, allocations: 58.19 kB / 401.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2418, allocations: 1.031 kB / 401.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.242, allocations: 55.47 kB / 401.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.242, allocations: 163.9 kB / 401.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.2422, allocations: 226 kB / 401.6 MB, free: 5.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.2422, allocations: 26.83 kB / 401.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.2423, allocations: 115.7 kB / 401.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.2423, allocations: 1.812 kB / 401.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.2423, allocations: 23.16 kB / 401.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.2424, allocations: 326.9 kB / 402.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.2424, allocations: 4.25 kB / 402.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.2424, allocations: 47.3 kB / 402.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.534e-05/0.2424, allocations: 13.17 kB / 402.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2424, allocations: 0 / 402.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.163e-05/0.2425, allocations: 63.2 kB / 402.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2425, allocations: 8.906 kB / 402.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2425, allocations: 1.156 kB / 402.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2426, allocations: 4.094 kB / 402.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-05/0.2426, allocations: 4.422 kB / 402.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2426, allocations: 0 / 402.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2427, allocations: 13.64 kB / 402.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.2427, allocations: 1.219 kB / 402.3 MB, free: 5.117 MB / 318.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 7.081e-05/0.2428, allocations: 132.2 kB / 402.4 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.2428, allocations: 18.66 kB / 402.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.2428, allocations: 22.75 kB / 402.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2428, allocations: 0 / 402.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2428, allocations: 5.156 kB / 402.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2428, allocations: 0 / 402.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.243, allocations: 162.7 kB / 402.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.243, allocations: 5.812 kB / 402.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.243, allocations: 1.312 kB / 402.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.243, allocations: 2.172 kB / 402.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.243, allocations: 0 / 402.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.243, allocations: 0 / 402.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.243, allocations: 5.25 kB / 402.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.2431, allocations: 82.09 kB / 402.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.2432, allocations: 39.67 kB / 402.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.2432, allocations: 2 kB / 402.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2433, allocations: 9.625 kB / 402.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-06/0.2434, allocations: 0.7969 kB / 402.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.2434, allocations: 1.438 kB / 402.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.2435, allocations: 174.6 kB / 402.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2435, allocations: 0 / 402.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.2437, allocations: 16.78 kB / 402.9 MB, free: 4.605 MB / 318.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.0005305/0.2442, allocations: 0.6983 MB / 403.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.2443, allocations: 9.438 kB / 403.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2443, allocations: 1.125 kB / 403.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.2443, allocations: 4.234 kB / 403.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.2445, allocations: 18.25 kB / 403.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.2459, allocations: 1.675 MB / 405.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.246, allocations: 0.7136 MB / 406 MB, free: 1.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.65e-05/0.2461, allocations: 42.27 kB / 406.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2462, allocations: 62.28 kB / 406.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2462, allocations: 0 / 406.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.2759, allocations: 4.218 MB / 410.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.6, allocations: 13.69 kB / 410.4 MB, free: 0.6055 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.063688314985484] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 10.805597585975192 10.827170468 10.58358763 Calling exit ...