Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001885/0.001885, allocations: 111.3 kB / 19.69 MB, free: 2.203 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.002132/0.002132, allocations: 192.8 kB / 22.98 MB, free: 5.074 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.552/1.552, 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.2355/0.2355, allocations: 44.24 MB / 330.2 MB, free: 9.562 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") [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.002966/0.002966, allocations: 75.88 kB / 467.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1419, allocations: 61.03 MB / 0.5166 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00193/0.1438, allocations: 0.5022 MB / 0.5171 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.1472, allocations: 2.163 MB / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.1472, allocations: 0 / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.1472, allocations: 0 / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.717e-06/0.1472, allocations: 3.938 kB / 0.5192 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.1492, allocations: 0.7638 MB / 0.5199 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.432e-05/0.1493, allocations: 4 kB / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.1493, allocations: 0 / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.1493, allocations: 0 / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.646e-05/0.1494, allocations: 8 kB / 0.5199 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-06/0.1494, allocations: 0 / 0.5199 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.1519, allocations: 1.7 MB / 0.5216 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.1519, allocations: 3.984 kB / 0.5216 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.1519, allocations: 0 / 0.5216 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.1537, allocations: 1.563 MB / 0.5231 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1537, allocations: 0 / 0.5231 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1537, allocations: 4 kB / 0.5231 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1537, allocations: 3.938 kB / 0.5231 GB, free: 144 kB / 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.0006165/0.1543, allocations: 343.4 kB / 0.5235 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1544, allocations: 12.03 kB / 0.5235 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.1544, allocations: 4.922 kB / 0.5235 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.1545, allocations: 102.5 kB / 0.5236 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1545, allocations: 384 / 0.5236 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1545, allocations: 8.125 kB / 0.5236 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.1546, allocations: 33.64 kB / 0.5236 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1546, allocations: 0 / 0.5236 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1546, allocations: 0 / 0.5236 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1546, allocations: 0 / 0.5236 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.586e-05/0.1546, allocations: 4 kB / 0.5236 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.1548, allocations: 120.8 kB / 0.5237 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.507e-05/0.1548, allocations: 22.55 kB / 0.5238 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.1548, allocations: 8.797 kB / 0.5238 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.1548, allocations: 4 kB / 0.5238 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.1549, allocations: 56.27 kB / 0.5238 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.1549, allocations: 3.938 kB / 0.5238 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001774/0.1551, allocations: 67.45 kB / 0.5239 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.1551, allocations: 77.11 kB / 0.524 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.207e-05/0.1552, allocations: 93.86 kB / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1552, allocations: 25.7 kB / 0.5241 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.1552, allocations: 80.27 kB / 0.5241 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1552, allocations: 4 kB / 0.5242 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.1553, allocations: 13.72 kB / 0.5242 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1554, allocations: 314.8 kB / 0.5245 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-06/0.1554, allocations: 0 / 0.5245 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.1554, allocations: 0 / 0.5245 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.813e-05/0.1555, allocations: 68.19 kB / 0.5245 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1555, allocations: 0 / 0.5245 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.293e-05/0.1556, allocations: 71.41 kB / 0.5246 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.1556, allocations: 29.7 kB / 0.5246 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1556, allocations: 0 / 0.5246 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1556, allocations: 0 / 0.5246 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.1556, allocations: 3.984 kB / 0.5246 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1556, allocations: 4 kB / 0.5246 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.1556, allocations: 0 / 0.5246 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1556, allocations: 0 / 0.5246 GB, free: 14.36 MB / 414.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.0001026/0.1557, allocations: 131.5 kB / 0.5248 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.1558, allocations: 11.97 kB / 0.5248 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.416e-06/0.1558, allocations: 3 kB / 0.5248 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1558, allocations: 0 / 0.5248 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1558, allocations: 7.938 kB / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1558, allocations: 0 / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.582e-05/0.1559, allocations: 120.8 kB / 0.5249 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1559, allocations: 3.938 kB / 0.5249 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-06/0.1559, allocations: 3.984 kB / 0.5249 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1559, allocations: 3.938 kB / 0.5249 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1559, allocations: 0 / 0.5249 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1559, allocations: 3.938 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1559, allocations: 4 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.813e-05/0.156, allocations: 90.83 kB / 0.525 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.156, allocations: 7.938 kB / 0.525 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.156, allocations: 4 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.156, allocations: 0 / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.156, allocations: 0 / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.156, allocations: 0 / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.1561, allocations: 79.31 kB / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1561, allocations: 0 / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008313/0.1569, allocations: 275.6 kB / 0.5254 GB, free: 13.55 MB / 414.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.001517/0.1584, allocations: 404.4 kB / 0.5257 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.1585, allocations: 67.28 kB / 0.5258 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1585, allocations: 0 / 0.5258 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.1586, allocations: 55.41 kB / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.1587, allocations: 7.922 kB / 0.5259 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001852/0.1589, allocations: 85.05 kB / 0.5259 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.1592, allocations: 0.6729 MB / 0.5266 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.811e-06/0.1592, allocations: 0 / 0.5266 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.1593, allocations: 7.438 kB / 0.5266 GB, free: 12.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1593, allocations: 3.938 kB / 0.5266 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.01461/0.1739, allocations: 7.312 MB / 0.5338 GB, free: 4.852 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.646270057186484] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.18349653482437134 0.43762989099999994 0.281029878 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc2fe2f97b0>