Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.00191/0.00191, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002624/0.002624, allocations: 215.2 kB / 22.99 MB, free: 4.602 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.48/1.48, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.215/0.215, allocations: 44.26 MB / 330.3 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",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.00241/0.00241, allocations: 71.89 kB / 467.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1383, allocations: 61.04 MB / 0.5161 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00184/0.1401, allocations: 0.5026 MB / 0.5166 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.1425, allocations: 1.508 MB / 0.5181 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.1425, allocations: 0 / 0.5181 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.1425, allocations: 0 / 0.5181 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.1425, allocations: 0 / 0.5181 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.1435, allocations: 251.4 kB / 0.5183 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.572e-05/0.1436, allocations: 7.984 kB / 0.5183 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.1436, allocations: 4 kB / 0.5183 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.1436, allocations: 0 / 0.5183 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.618e-05/0.1436, allocations: 0 / 0.5183 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-06/0.1436, allocations: 4 kB / 0.5184 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.1447, allocations: 0.6829 MB / 0.519 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.1447, allocations: 0 / 0.519 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.1448, allocations: 0 / 0.519 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.1455, allocations: 0.6203 MB / 0.5196 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1455, allocations: 0 / 0.5196 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1455, allocations: 4 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1455, allocations: 0 / 0.5196 GB, free: 3.602 MB / 398.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.0004996/0.146, allocations: 283.9 kB / 0.5199 GB, free: 3.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.146, allocations: 11.97 kB / 0.5199 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.1461, allocations: 38.73 kB / 0.5199 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.1461, allocations: 0.9375 kB / 0.5199 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1462, allocations: 106.5 kB / 0.5201 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1462, allocations: 4.375 kB / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1462, allocations: 384 / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1463, allocations: 59.53 kB / 0.5201 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1463, allocations: 0 / 0.5201 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.1463, allocations: 0 / 0.5201 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1463, allocations: 7.875 kB / 0.5201 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.1464, allocations: 25.7 kB / 0.5201 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1465, allocations: 120.8 kB / 0.5203 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.1466, allocations: 52.22 kB / 0.5203 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.1466, allocations: 34.66 kB / 0.5203 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.1466, allocations: 0 / 0.5203 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.1467, allocations: 60.2 kB / 0.5204 GB, free: 2.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1467, allocations: 0 / 0.5204 GB, free: 2.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002024/0.1469, allocations: 126.7 kB / 0.5205 GB, free: 2.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.1469, allocations: 81.11 kB / 0.5206 GB, free: 2.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.851e-05/0.147, allocations: 89.86 kB / 0.5207 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.147, allocations: 25.7 kB / 0.5207 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.147, allocations: 80.27 kB / 0.5208 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.147, allocations: 4 kB / 0.5208 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.1471, allocations: 17.7 kB / 0.5208 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1472, allocations: 310.8 kB / 0.5211 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.1472, allocations: 29.7 kB / 0.5211 GB, free: 1.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.1473, allocations: 29.7 kB / 0.5212 GB, free: 1.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.186e-05/0.1473, allocations: 60.27 kB / 0.5212 GB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1473, allocations: 0 / 0.5212 GB, free: 1.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.844e-05/0.1474, allocations: 93.03 kB / 0.5213 GB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.1475, allocations: 37.64 kB / 0.5213 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1475, allocations: 8.078 kB / 0.5213 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1475, allocations: 0 / 0.5213 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1475, allocations: 0 / 0.5213 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1475, allocations: 0 / 0.5213 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.1475, allocations: 0 / 0.5213 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1475, allocations: 4 kB / 0.5214 GB, free: 1.539 MB / 398.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000142/0.1476, allocations: 135.5 kB / 0.5215 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.1477, allocations: 7.938 kB / 0.5215 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.724e-06/0.1477, allocations: 3 kB / 0.5215 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1477, allocations: 0 / 0.5215 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1477, allocations: 4 kB / 0.5215 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1477, allocations: 0 / 0.5215 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.1478, allocations: 124.7 kB / 0.5216 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1478, allocations: 0 / 0.5216 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-06/0.1478, allocations: 7.922 kB / 0.5216 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1478, allocations: 3.938 kB / 0.5216 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1478, allocations: 3.984 kB / 0.5216 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1478, allocations: 0 / 0.5216 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.1478, allocations: 0 / 0.5216 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.1479, allocations: 124.5 kB / 0.5217 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.1479, allocations: 11.91 kB / 0.5218 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.148, allocations: 4 kB / 0.5218 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.148, allocations: 0 / 0.5218 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.148, allocations: 0 / 0.5218 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.148, allocations: 0 / 0.5218 GB, free: 1.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.947e-05/0.1481, allocations: 75.28 kB / 0.5218 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1481, allocations: 4 kB / 0.5218 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.1484, allocations: 119.9 kB / 0.522 GB, free: 0.8359 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001058/0.1495, allocations: 0.7257 MB / 0.5227 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1496, allocations: 114.8 kB / 0.5228 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1496, allocations: 4 kB / 0.5228 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.1497, allocations: 81.09 kB / 0.5229 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1498, allocations: 8.125 kB / 0.5229 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.1502, allocations: 152.1 kB / 0.523 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.1503, allocations: 55.36 kB / 0.5231 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.709e-06/0.1503, allocations: 0 / 0.5231 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.1503, allocations: 7.438 kB / 0.5231 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1503, allocations: 0 / 0.5231 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.1818, allocations: 5.257 MB / 0.5282 GB, free: 10.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.21, allocations: 4.062 kB / 0.5282 GB, free: 10.28 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.330338873900473] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.311434086877853 11.574440063 11.425322261 Calling exit ...