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.001973/0.001973, allocations: 104.9 kB / 21.96 MB, free: 5.219 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.00248/0.00248, allocations: 214 kB / 25.26 MB, free: 3.129 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.35/1.35, allocations: 207.7 MB / 236.1 MB, free: 9.789 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.001729/0.001729, allocations: 63.05 kB / 348 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2473, allocations: 49.16 MB / 397.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001503/0.2488, allocations: 0.5254 MB / 397.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.2507, allocations: 1.889 MB / 399.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2508, allocations: 0 / 399.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.2533, allocations: 145.9 kB / 399.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.2533, allocations: 34.48 kB / 399.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.2535, allocations: 42.7 kB / 399.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2536, allocations: 50.66 kB / 399.8 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.2537, allocations: 11.05 kB / 399.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.2538, allocations: 24.89 kB / 399.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2539, allocations: 27.02 kB / 399.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2539, allocations: 1.188 kB / 399.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.518e-05/0.2539, allocations: 28.98 kB / 399.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.254, allocations: 56.7 kB / 399.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.2541, allocations: 33.22 kB / 400 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.2543, allocations: 105.8 kB / 400.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2543, allocations: 0 / 400.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2544, allocations: 1.438 kB / 400.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2544, allocations: 0 / 400.1 MB, free: 6.934 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.000551/0.2549, allocations: 419.3 kB / 400.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2549, allocations: 13.36 kB / 400.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.357e-05/0.255, allocations: 1.344 kB / 400.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.837e-05/0.255, allocations: 31.81 kB / 400.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.255, allocations: 21.73 kB / 400.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.2555, allocations: 227.2 kB / 400.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2555, allocations: 1.531 kB / 400.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.2555, allocations: 0.9375 kB / 400.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.2556, allocations: 179.7 kB / 401 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2557, allocations: 0 / 401 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2557, allocations: 4.922 kB / 401 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2557, allocations: 1.281 kB / 401 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.684e-05/0.2557, allocations: 1.875 kB / 401 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.256, allocations: 169.6 kB / 401.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.256, allocations: 29.97 kB / 401.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.256, allocations: 7.953 kB / 401.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.256, allocations: 4.688 kB / 401.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2561, allocations: 58.92 kB / 401.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2561, allocations: 0 / 401.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.2562, allocations: 54.3 kB / 401.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2562, allocations: 159.9 kB / 401.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.2565, allocations: 231.4 kB / 401.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2565, allocations: 30.77 kB / 401.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.2565, allocations: 117.1 kB / 401.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2566, allocations: 0.7031 kB / 401.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.2566, allocations: 31.03 kB / 401.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.2566, allocations: 324.7 kB / 402.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.2567, allocations: 3.312 kB / 402.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.2567, allocations: 144.5 kB / 402.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.2567, allocations: 15.53 kB / 402.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2567, allocations: 1.375 kB / 402.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.401e-05/0.2568, allocations: 59.02 kB / 402.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2568, allocations: 10.03 kB / 402.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2568, allocations: 0 / 402.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2569, allocations: 0 / 402.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.697e-05/0.2569, allocations: 4.266 kB / 402.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2569, allocations: 0 / 402.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.257, allocations: 13.66 kB / 402.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.257, allocations: 1.406 kB / 402.4 MB, free: 4.777 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.957e-05/0.2571, allocations: 137.2 kB / 402.5 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.2571, allocations: 18.22 kB / 402.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.2572, allocations: 22.52 kB / 402.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2572, allocations: 4.703 kB / 402.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2572, allocations: 0 / 402.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2572, allocations: 1.375 kB / 402.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2573, allocations: 156.6 kB / 402.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2573, allocations: 3.938 kB / 402.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.2574, allocations: 3.516 kB / 402.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2574, allocations: 0 / 402.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.2574, allocations: 1.375 kB / 402.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2574, allocations: 0.8438 kB / 402.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2574, allocations: 0 / 402.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2575, allocations: 87.55 kB / 402.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.2576, allocations: 43.5 kB / 402.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.2576, allocations: 1.344 kB / 402.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2577, allocations: 10.02 kB / 402.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.2577, allocations: 1.031 kB / 402.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.2577, allocations: 5.062 kB / 402.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.2579, allocations: 175.3 kB / 403.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2579, allocations: 0 / 403.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.2581, allocations: 12.89 kB / 403.1 MB, free: 4.262 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.0005984/0.2587, allocations: 0.6964 MB / 403.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.2588, allocations: 9.609 kB / 403.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.2588, allocations: 5.531 kB / 403.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.2588, allocations: 3.344 kB / 403.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.259, allocations: 17.34 kB / 403.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.2604, allocations: 1.675 MB / 405.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.436e-05/0.2604, allocations: 99.86 kB / 405.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.526e-05/0.2605, allocations: 38.98 kB / 405.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.2606, allocations: 62.91 kB / 405.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2606, allocations: 4.062 kB / 405.7 MB, free: 2.227 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.291, allocations: 4.374 MB / 410.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.79, allocations: 6.969 kB / 410.1 MB, free: 0.7344 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.257233382901177] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 10.999028739985079 11.013476949 10.756145043 Calling exit ...