Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.001868/0.001868, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 253.4 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] 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.001646/0.001646, allocations: 222.5 kB / 310 MB, free: 3.102 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04137/0.04137, allocations: 8.91 MB / 375.3 MB, free: 1.863 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 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.00246/0.00246, allocations: 82.28 kB / 0.4904 GB, free: 4.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1282, allocations: 55.62 MB / 0.5447 GB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.00213/0.1304, allocations: 0.4971 MB / 0.5452 GB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1323, allocations: 1.154 MB / 0.5463 GB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.1323, allocations: 3.938 kB / 0.5463 GB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.1326, allocations: 31.91 kB / 0.5464 GB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.1327, allocations: 15.92 kB / 0.5464 GB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.543e-06/0.1327, allocations: 4 kB / 0.5464 GB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.1328, allocations: 31.84 kB / 0.5464 GB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1328, allocations: 0 / 0.5464 GB, free: 2.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.133, allocations: 23.92 kB / 0.5465 GB, free: 2.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1331, allocations: 31.89 kB / 0.5465 GB, free: 2.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1332, allocations: 4 kB / 0.5465 GB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.1332, allocations: 0 / 0.5465 GB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.1333, allocations: 75.78 kB / 0.5466 GB, free: 2.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1334, allocations: 23.75 kB / 0.5466 GB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.105e-05/0.1335, allocations: 51.66 kB / 0.5466 GB, free: 2.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1335, allocations: 0 / 0.5466 GB, free: 2.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1335, allocations: 0 / 0.5466 GB, free: 2.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1335, allocations: 0 / 0.5466 GB, free: 2.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005542/0.134, allocations: 333.6 kB / 0.5469 GB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1341, allocations: 12.03 kB / 0.547 GB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.1341, allocations: 88.17 kB / 0.547 GB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1344, allocations: 230.5 kB / 0.5473 GB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.1345, allocations: 150.9 kB / 0.5474 GB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.1345, allocations: 158.9 kB / 0.5476 GB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.1346, allocations: 105.3 kB / 0.5477 GB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.1346, allocations: 79.28 kB / 0.5477 GB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.1347, allocations: 154.5 kB / 0.5479 GB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.135e-05/0.1348, allocations: 154.6 kB / 0.548 GB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.1349, allocations: 150.6 kB / 0.5482 GB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.1352, allocations: 449 kB / 0.5486 GB, free: 448 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1353, allocations: 177.1 kB / 0.5488 GB, free: 260 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.1354, allocations: 84.14 kB / 0.5488 GB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.1354, allocations: 75.28 kB / 0.5489 GB, free: 96 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.259e-05/0.1355, allocations: 109.8 kB / 0.549 GB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1355, allocations: 0 / 0.549 GB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.652e-05/0.1356, allocations: 53.59 kB / 0.5491 GB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.1357, allocations: 130.6 kB / 0.5492 GB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1359, allocations: 223.8 kB / 0.5494 GB, free: 15.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1359, allocations: 25.7 kB / 0.5494 GB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.136, allocations: 120.1 kB / 0.5496 GB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.136, allocations: 0 / 0.5496 GB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.1361, allocations: 9.719 kB / 0.5496 GB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1362, allocations: 326.8 kB / 0.5499 GB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-06/0.1362, allocations: 4 kB / 0.5499 GB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-06/0.1362, allocations: 3.938 kB / 0.5499 GB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.306e-05/0.1363, allocations: 79.28 kB / 0.55 GB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-05/0.1363, allocations: 75.28 kB / 0.55 GB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.042e-05/0.1363, allocations: 33.66 kB / 0.5501 GB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.1364, allocations: 89.72 kB / 0.5501 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/0.1364, allocations: 83.2 kB / 0.5502 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-05/0.1365, allocations: 154.6 kB / 0.5504 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.1366, allocations: 83.22 kB / 0.5505 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.739e-05/0.1366, allocations: 154.6 kB / 0.5506 GB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-05/0.1367, allocations: 79.28 kB / 0.5507 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.1368, allocations: 83.16 kB / 0.5508 GB, free: 14.14 MB / 366.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 (0): * Single equations (assignments): 0 * 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 0.0001648/0.1369, allocations: 289.7 kB / 0.551 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.137, allocations: 120.8 kB / 0.5511 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.427e-05/0.1371, allocations: 129.6 kB / 0.5513 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.173e-05/0.1372, allocations: 180.3 kB / 0.5514 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.208e-05/0.1373, allocations: 180.3 kB / 0.5516 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.36e-05/0.1373, allocations: 180.2 kB / 0.5518 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.1376, allocations: 412.3 kB / 0.5522 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-05/0.1377, allocations: 108.9 kB / 0.5523 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.1377, allocations: 105 kB / 0.5524 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.675e-05/0.1378, allocations: 184.1 kB / 0.5526 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.1379, allocations: 176.3 kB / 0.5527 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.382e-05/0.138, allocations: 184.2 kB / 0.5529 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.58e-05/0.1381, allocations: 184.2 kB / 0.5531 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.1383, allocations: 319.7 kB / 0.5534 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.1384, allocations: 124.8 kB / 0.5535 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.1385, allocations: 180.3 kB / 0.5537 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1386, allocations: 108.9 kB / 0.5538 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.1387, allocations: 180.3 kB / 0.554 GB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.1387, allocations: 112.9 kB / 0.5541 GB, free: 10.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1389, allocations: 168.1 kB / 0.5542 GB, free: 10.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1389, allocations: 0 / 0.5542 GB, free: 10.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1391, allocations: 4 kB / 0.5542 GB, free: 10.39 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001393/0.1393, allocations: 170.5 kB / 0.5544 GB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.425e-05/0.1393, allocations: 4 kB / 0.5544 GB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1393, allocations: 0 / 0.5544 GB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1393, allocations: 0 / 0.5544 GB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.1398, allocations: 459.5 kB / 0.5548 GB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.1402, allocations: 330.6 kB / 0.5551 GB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1406, allocations: 0.7157 MB / 0.5558 GB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.1406, allocations: 11.44 kB / 0.5559 GB, free: 8.645 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1406, allocations: 0 / 0.5559 GB, free: 8.645 MB / 366.1 MB Notification: Performance of Templates: time 0.002354/0.143, allocations: 0.7383 MB / 0.5566 GB, free: 7.906 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.152898056898266] Failed to read output from testmodel.py, exit status != 0: 0.1520143528468907 0.16968786400000002 0.032761780000000004 Calling exit ...