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.001825/0.001825, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.592/1.592, allocations: 230.6 MB / 252.7 MB, free: 8.051 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.001876/0.001876, allocations: 215.3 kB / 309.2 MB, free: 2.953 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.05495/0.05495, allocations: 8.911 MB / 374.6 MB, free: 1.723 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.00304/0.00304, allocations: 83.88 kB / 0.4896 GB, free: 6.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3153, allocations: 55.6 MB / 0.5439 GB, free: 26.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001592/0.3169, allocations: 0.5069 MB / 0.5444 GB, free: 26.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3182, allocations: 1.104 MB / 0.5455 GB, free: 25.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.3183, allocations: 2.969 kB / 0.5455 GB, free: 25.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3186, allocations: 28.31 kB / 0.5455 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.3186, allocations: 20.45 kB / 0.5455 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.938e-06/0.3186, allocations: 0 / 0.5455 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.879e-05/0.3187, allocations: 33.52 kB / 0.5456 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.3188, allocations: 0 / 0.5456 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3189, allocations: 26.14 kB / 0.5456 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.319, allocations: 26.83 kB / 0.5456 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.3191, allocations: 0 / 0.5456 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.3191, allocations: 3.156 kB / 0.5456 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3192, allocations: 76.34 kB / 0.5457 GB, free: 25.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.3193, allocations: 18.94 kB / 0.5457 GB, free: 25.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.25e-05/0.3193, allocations: 55.31 kB / 0.5458 GB, free: 25.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3193, allocations: 0 / 0.5458 GB, free: 25.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3193, allocations: 0 / 0.5458 GB, free: 25.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3193, allocations: 0 / 0.5458 GB, free: 25.68 MB / 382.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.0004142/0.3198, allocations: 333.7 kB / 0.5461 GB, free: 25.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3198, allocations: 8.969 kB / 0.5461 GB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.3198, allocations: 89.92 kB / 0.5462 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.32, allocations: 240.4 kB / 0.5464 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.32, allocations: 154.9 kB / 0.5465 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3201, allocations: 150.9 kB / 0.5467 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.836e-05/0.3201, allocations: 109.3 kB / 0.5468 GB, free: 24.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3201, allocations: 78.69 kB / 0.5469 GB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.3202, allocations: 150.6 kB / 0.547 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.3202, allocations: 150.6 kB / 0.5472 GB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.3202, allocations: 154.5 kB / 0.5473 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.3204, allocations: 438.3 kB / 0.5477 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.941e-05/0.3205, allocations: 169.1 kB / 0.5479 GB, free: 23.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.3205, allocations: 87.73 kB / 0.548 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3205, allocations: 75.28 kB / 0.548 GB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3205, allocations: 105.8 kB / 0.5481 GB, free: 23.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.3205, allocations: 0 / 0.5481 GB, free: 23.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.844e-05/0.3206, allocations: 51.67 kB / 0.5482 GB, free: 23.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.3206, allocations: 129.4 kB / 0.5483 GB, free: 23.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3208, allocations: 229.5 kB / 0.5485 GB, free: 22.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.3208, allocations: 25.7 kB / 0.5486 GB, free: 22.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.3209, allocations: 117 kB / 0.5487 GB, free: 22.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.3209, allocations: 0 / 0.5487 GB, free: 22.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.3209, allocations: 13.72 kB / 0.5487 GB, free: 22.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.321, allocations: 328.7 kB / 0.549 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-06/0.321, allocations: 0 / 0.549 GB, free: 22.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-06/0.321, allocations: 0 / 0.549 GB, free: 22.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.715e-05/0.321, allocations: 78.53 kB / 0.5491 GB, free: 22.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.321, allocations: 75.28 kB / 0.5491 GB, free: 22.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.201e-05/0.321, allocations: 40.09 kB / 0.5492 GB, free: 22.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.3211, allocations: 85.09 kB / 0.5493 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3211, allocations: 79.22 kB / 0.5493 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/0.3211, allocations: 150.6 kB / 0.5495 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-05/0.3211, allocations: 82.41 kB / 0.5496 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/0.3212, allocations: 158.6 kB / 0.5497 GB, free: 21.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.3212, allocations: 82.5 kB / 0.5498 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.3213, allocations: 78.75 kB / 0.5499 GB, free: 21.57 MB / 382.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 8.104e-05/0.3213, allocations: 283.7 kB / 0.5501 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.3214, allocations: 119.6 kB / 0.5502 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3214, allocations: 130.9 kB / 0.5504 GB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.3214, allocations: 182.7 kB / 0.5505 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/0.3215, allocations: 180.2 kB / 0.5507 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.3215, allocations: 179.6 kB / 0.5509 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.3216, allocations: 393.2 kB / 0.5513 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.3217, allocations: 113 kB / 0.5514 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.597e-05/0.3217, allocations: 108 kB / 0.5515 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.527e-05/0.3217, allocations: 188.1 kB / 0.5517 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.3217, allocations: 176.3 kB / 0.5518 GB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.596e-05/0.3218, allocations: 186.8 kB / 0.552 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-05/0.3218, allocations: 180.2 kB / 0.5522 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.894e-05/0.3219, allocations: 317.5 kB / 0.5525 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.3219, allocations: 118.7 kB / 0.5526 GB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.3219, allocations: 179.5 kB / 0.5528 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.322, allocations: 116.4 kB / 0.5529 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.322, allocations: 191.4 kB / 0.553 GB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3221, allocations: 104.9 kB / 0.5531 GB, free: 18.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.3222, allocations: 173.6 kB / 0.5533 GB, free: 18.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3222, allocations: 0 / 0.5533 GB, free: 18.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000253/0.3224, allocations: 3 kB / 0.5533 GB, free: 18.04 MB / 382.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 9.258e-05/0.3225, allocations: 167.4 kB / 0.5535 GB, free: 17.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.632e-05/0.3225, allocations: 0 / 0.5535 GB, free: 17.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3225, allocations: 0 / 0.5535 GB, free: 17.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.3225, allocations: 3.094 kB / 0.5535 GB, free: 17.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3228, allocations: 468.1 kB / 0.5539 GB, free: 17.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.3231, allocations: 306.1 kB / 0.5542 GB, free: 17.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.3232, allocations: 96.78 kB / 0.5543 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.564e-05/0.3232, allocations: 3 kB / 0.5543 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.3232, allocations: 7.438 kB / 0.5543 GB, free: 17.11 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3232, allocations: 0 / 0.5543 GB, free: 17.11 MB / 382.1 MB Notification: Performance of Templates: time 0.002754/0.326, allocations: 344.8 kB / 0.5546 GB, free: 17.04 MB / 382.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: 5.132020207121968] Failed to read output from testmodel.py, exit status != 0: 0.3350204285234213 0.34519130600000003 0.02309624 Calling exit ...