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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 109.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 188.4 kB / 22.98 MB, free: 5.016 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.569/1.569, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2323/0.2323, allocations: 44.24 MB / 330.2 MB, free: 9.551 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 74.55 kB / 467.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.132, allocations: 61.04 MB / 0.5166 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001722/0.1337, allocations: 0.5022 MB / 0.5171 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1361, allocations: 1.57 MB / 0.5186 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.1361, allocations: 0 / 0.5186 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.1361, allocations: 0 / 0.5186 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.942e-06/0.1361, allocations: 0 / 0.5186 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1372, allocations: 251.3 kB / 0.5188 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.1373, allocations: 12 kB / 0.5188 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1373, allocations: 0 / 0.5188 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.477e-05/0.1373, allocations: 0 / 0.5188 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.1373, allocations: 0 / 0.5188 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.1373, allocations: 4 kB / 0.5188 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.1385, allocations: 0.7961 MB / 0.5196 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-06/0.1385, allocations: 0 / 0.5196 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.1385, allocations: 3.984 kB / 0.5196 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008124/0.1393, allocations: 0.6589 MB / 0.5203 GB, free: 3.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1393, allocations: 0 / 0.5203 GB, free: 3.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1393, allocations: 0 / 0.5203 GB, free: 3.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1393, allocations: 4 kB / 0.5203 GB, free: 3.059 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.0004857/0.1398, allocations: 291.9 kB / 0.5206 GB, free: 2.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1399, allocations: 12.02 kB / 0.5206 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.1399, allocations: 0.9375 kB / 0.5206 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.14, allocations: 106.5 kB / 0.5207 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.14, allocations: 384 / 0.5207 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.14, allocations: 384 / 0.5207 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.1401, allocations: 37.95 kB / 0.5207 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1401, allocations: 4 kB / 0.5207 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-06/0.1401, allocations: 0 / 0.5207 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1401, allocations: 0 / 0.5207 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.1401, allocations: 3.938 kB / 0.5207 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1403, allocations: 124.8 kB / 0.5208 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.1403, allocations: 14.58 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.1404, allocations: 8.953 kB / 0.5209 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.1404, allocations: 0 / 0.5209 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.1404, allocations: 64.2 kB / 0.5209 GB, free: 2.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1404, allocations: 3.938 kB / 0.5209 GB, free: 2.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001957/0.1406, allocations: 67.39 kB / 0.521 GB, free: 2.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.1407, allocations: 77.11 kB / 0.5211 GB, free: 2.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.271e-05/0.1407, allocations: 89.86 kB / 0.5211 GB, free: 1.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1407, allocations: 25.7 kB / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.1408, allocations: 80.14 kB / 0.5212 GB, free: 1.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1408, allocations: 4 kB / 0.5212 GB, free: 1.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.1408, allocations: 13.84 kB / 0.5213 GB, free: 1.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.141, allocations: 310.8 kB / 0.5216 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-06/0.141, allocations: 0 / 0.5216 GB, free: 1.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.787e-06/0.141, allocations: 4 kB / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.1411, allocations: 72.19 kB / 0.5216 GB, free: 1.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1411, allocations: 0 / 0.5216 GB, free: 1.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.514e-05/0.1411, allocations: 55.41 kB / 0.5217 GB, free: 1.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.1412, allocations: 41.73 kB / 0.5217 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1412, allocations: 0 / 0.5217 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1412, allocations: 3.938 kB / 0.5217 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.1412, allocations: 3.984 kB / 0.5217 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1412, allocations: 0 / 0.5217 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.1412, allocations: 0 / 0.5217 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1412, allocations: 0 / 0.5217 GB, free: 1.336 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.0001031/0.1413, allocations: 139.5 kB / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.1413, allocations: 3.938 kB / 0.5219 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-06/0.1413, allocations: 7 kB / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1413, allocations: 0 / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.1414, allocations: 4 kB / 0.5219 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.1414, allocations: 0 / 0.5219 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.567e-05/0.1414, allocations: 120.7 kB / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1415, allocations: 0 / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-06/0.1415, allocations: 4 kB / 0.522 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1415, allocations: 11.88 kB / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1415, allocations: 0 / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1415, allocations: 0 / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1415, allocations: 0 / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1416, allocations: 94.83 kB / 0.5221 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.1416, allocations: 0 / 0.5221 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1416, allocations: 7.875 kB / 0.5221 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-06/0.1416, allocations: 0 / 0.5221 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.1416, allocations: 0 / 0.5221 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1416, allocations: 4 kB / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.1416, allocations: 75.28 kB / 0.5222 GB, free: 0.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1416, allocations: 4.031 kB / 0.5222 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004058/0.1421, allocations: 123.9 kB / 0.5223 GB, free: 0.668 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.0007395/0.1428, allocations: 176.2 kB / 0.5225 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.1429, allocations: 67.33 kB / 0.5225 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1429, allocations: 0 / 0.5225 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.143, allocations: 59.34 kB / 0.5226 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1431, allocations: 4 kB / 0.5226 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.1433, allocations: 76.86 kB / 0.5227 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1436, allocations: 0.6768 MB / 0.5233 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.59e-06/0.1436, allocations: 0 / 0.5233 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.1436, allocations: 11.56 kB / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1436, allocations: 0 / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Templates: time 0.007807/0.1514, allocations: 3.924 MB / 0.5272 GB, free: 11.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.374208061955869] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.1603432623669505 0.419981456 0.276631831 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1a239357b0>