Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.001594/0.001594, 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.449/1.449, allocations: 230.6 MB / 253.4 MB, free: 8.25 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.001723/0.001723, allocations: 208.5 kB / 310 MB, free: 3.105 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.0418/0.0418, allocations: 8.912 MB / 375.3 MB, free: 1.859 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.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") [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.00272/0.00272, allocations: 87.88 kB / 0.4904 GB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3304, allocations: 55.6 MB / 0.5447 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001521/0.3319, allocations: 0.5316 MB / 0.5452 GB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3331, allocations: 1.199 MB / 0.5464 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.3331, allocations: 0 / 0.5464 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.3333, allocations: 10.67 kB / 0.5464 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.3334, allocations: 22.42 kB / 0.5464 GB, free: 25.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.754e-05/0.3334, allocations: 13.02 kB / 0.5465 GB, free: 25.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.3335, allocations: 36.8 kB / 0.5465 GB, free: 25.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.3335, allocations: 0 / 0.5465 GB, free: 25.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3337, allocations: 38.81 kB / 0.5465 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.3338, allocations: 38.23 kB / 0.5466 GB, free: 25.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3338, allocations: 0 / 0.5466 GB, free: 25.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.3338, allocations: 3.062 kB / 0.5466 GB, free: 25.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.3339, allocations: 44.48 kB / 0.5466 GB, free: 25.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.334, allocations: 26.58 kB / 0.5466 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.511e-05/0.334, allocations: 51.3 kB / 0.5467 GB, free: 25.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.334, allocations: 4 kB / 0.5467 GB, free: 25.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.334, allocations: 0 / 0.5467 GB, free: 25.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3341, allocations: 0 / 0.5467 GB, free: 25.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004381/0.3345, allocations: 336 kB / 0.547 GB, free: 25.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3345, allocations: 9.25 kB / 0.547 GB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.3346, allocations: 19.12 kB / 0.547 GB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3347, allocations: 157.1 kB / 0.5472 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3347, allocations: 384 / 0.5472 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3348, allocations: 4.375 kB / 0.5472 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.932e-05/0.3348, allocations: 50.92 kB / 0.5472 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3348, allocations: 0 / 0.5472 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3349, allocations: 0 / 0.5472 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3349, allocations: 0 / 0.5472 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.861e-05/0.3349, allocations: 9.344 kB / 0.5472 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.335, allocations: 166.6 kB / 0.5474 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/0.3351, allocations: 31.2 kB / 0.5474 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.3351, allocations: 15.95 kB / 0.5474 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3351, allocations: 0 / 0.5474 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3352, allocations: 44.75 kB / 0.5475 GB, free: 25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.3352, allocations: 0 / 0.5475 GB, free: 25 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001458/0.3353, allocations: 58.02 kB / 0.5475 GB, free: 24.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.3353, allocations: 51.41 kB / 0.5476 GB, free: 24.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3355, allocations: 213.6 kB / 0.5478 GB, free: 24.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.3355, allocations: 29.03 kB / 0.5478 GB, free: 24.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.3355, allocations: 110.7 kB / 0.5479 GB, free: 24.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3355, allocations: 18.34 kB / 0.5479 GB, free: 24.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.3356, allocations: 16.88 kB / 0.548 GB, free: 24.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.3356, allocations: 325.5 kB / 0.5483 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.3356, allocations: 3.219 kB / 0.5483 GB, free: 24.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.3356, allocations: 10.64 kB / 0.5483 GB, free: 24.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/0.3357, allocations: 33.08 kB / 0.5483 GB, free: 24.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3357, allocations: 0 / 0.5483 GB, free: 24.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.478e-05/0.3358, allocations: 61.19 kB / 0.5484 GB, free: 24.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3358, allocations: 10.53 kB / 0.5484 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3358, allocations: 0 / 0.5484 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3358, allocations: 0 / 0.5484 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.3358, allocations: 6.719 kB / 0.5484 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3359, allocations: 0 / 0.5484 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.3359, allocations: 3.219 kB / 0.5484 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3359, allocations: 6.562 kB / 0.5484 GB, free: 24.2 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 (3): * Single equations (assignments): 3 * 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 5.301e-05/0.336, allocations: 119.4 kB / 0.5485 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.336, allocations: 26.25 kB / 0.5485 GB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3361, allocations: 65.5 kB / 0.5486 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3361, allocations: 0 / 0.5486 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3361, allocations: 3.188 kB / 0.5486 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3361, allocations: 0 / 0.5486 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.613e-05/0.3362, allocations: 151 kB / 0.5488 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3362, allocations: 4 kB / 0.5488 GB, free: 23.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.3362, allocations: 6.703 kB / 0.5488 GB, free: 23.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3362, allocations: 7.156 kB / 0.5488 GB, free: 23.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3362, allocations: 0 / 0.5488 GB, free: 23.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3362, allocations: 4 kB / 0.5488 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3362, allocations: 0 / 0.5488 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.872e-05/0.3363, allocations: 83.25 kB / 0.5489 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.3363, allocations: 21.66 kB / 0.5489 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3363, allocations: 0 / 0.5489 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.3364, allocations: 6.656 kB / 0.5489 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.3364, allocations: 0 / 0.5489 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.3364, allocations: 3.125 kB / 0.5489 GB, free: 23.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3365, allocations: 174 kB / 0.549 GB, free: 23.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3365, allocations: 0 / 0.549 GB, free: 23.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001792/0.3367, allocations: 6.312 kB / 0.5491 GB, free: 23.64 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 (3): * Single equations (assignments): 3 * 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 5.782e-05/0.3367, allocations: 99.47 kB / 0.5491 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.198e-05/0.3368, allocations: 24.23 kB / 0.5492 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3368, allocations: 0 / 0.5492 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.3369, allocations: 6.344 kB / 0.5492 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.337, allocations: 8.938 kB / 0.5492 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.3373, allocations: 231.1 kB / 0.5494 GB, free: 23.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3374, allocations: 0.7103 MB / 0.5501 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.3374, allocations: 10.66 kB / 0.5501 GB, free: 22.65 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3374, allocations: 0 / 0.5501 GB, free: 22.65 MB / 382.1 MB Notification: Performance of Templates: time 0.002127/0.3396, allocations: 0.935 MB / 0.551 GB, free: 22.61 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.189063202822581] Failed to read output from testmodel.py, exit status != 0: 0.34766565915197134 0.35758493199999997 0.020848465 Calling exit ...