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.001594/0.001594, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.487/1.487, allocations: 230.6 MB / 252.6 MB, free: 8.281 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.001724/0.001724, allocations: 224.5 kB / 309.2 MB, free: 3.133 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.04161/0.04161, allocations: 8.907 MB / 374.6 MB, free: 1.887 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.002629/0.002629, allocations: 87.81 kB / 0.4897 GB, free: 6.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2956, allocations: 55.61 MB / 0.544 GB, free: 27.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001338/0.297, allocations: 0.5022 MB / 0.5445 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.298, allocations: 1.155 MB / 0.5456 GB, free: 25.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.298, allocations: 0 / 0.5456 GB, free: 25.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.2982, allocations: 21.41 kB / 0.5456 GB, free: 25.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.2983, allocations: 27.52 kB / 0.5456 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.2983, allocations: 0 / 0.5456 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.071e-05/0.2983, allocations: 31.98 kB / 0.5457 GB, free: 25.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.957e-05/0.2983, allocations: 0 / 0.5457 GB, free: 25.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.2985, allocations: 19.95 kB / 0.5457 GB, free: 25.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.2985, allocations: 35.48 kB / 0.5457 GB, free: 25.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2986, allocations: 0 / 0.5457 GB, free: 25.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.2986, allocations: 0 / 0.5457 GB, free: 25.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.2987, allocations: 75.3 kB / 0.5458 GB, free: 25.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.2987, allocations: 26.25 kB / 0.5458 GB, free: 25.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.173e-05/0.2988, allocations: 48.08 kB / 0.5459 GB, free: 25.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2988, allocations: 3.938 kB / 0.5459 GB, free: 25.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2988, allocations: 0 / 0.5459 GB, free: 25.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2988, allocations: 3.156 kB / 0.5459 GB, free: 25.77 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.0003066/0.2991, allocations: 335.4 kB / 0.5462 GB, free: 25.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.2991, allocations: 13.56 kB / 0.5462 GB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.2991, allocations: 90.58 kB / 0.5463 GB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2993, allocations: 233.8 kB / 0.5465 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2993, allocations: 150.9 kB / 0.5467 GB, free: 24.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.2993, allocations: 150.9 kB / 0.5468 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.315e-05/0.2993, allocations: 112.5 kB / 0.5469 GB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2994, allocations: 83.28 kB / 0.547 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2994, allocations: 150.6 kB / 0.5471 GB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.2994, allocations: 150.6 kB / 0.5473 GB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.2994, allocations: 150.6 kB / 0.5474 GB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.2996, allocations: 455.8 kB / 0.5479 GB, free: 23.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.2996, allocations: 173.1 kB / 0.548 GB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.2996, allocations: 80.14 kB / 0.5481 GB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.2996, allocations: 78.34 kB / 0.5482 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.2997, allocations: 113.8 kB / 0.5483 GB, free: 23.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.2997, allocations: 0 / 0.5483 GB, free: 23.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 5.953e-05/0.2997, allocations: 44.05 kB / 0.5483 GB, free: 23.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.2997, allocations: 126.7 kB / 0.5484 GB, free: 23.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2999, allocations: 226.5 kB / 0.5487 GB, free: 22.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.2999, allocations: 25.7 kB / 0.5487 GB, free: 22.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.2999, allocations: 120.2 kB / 0.5488 GB, free: 22.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/0.2999, allocations: 0 / 0.5488 GB, free: 22.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.3, allocations: 13.66 kB / 0.5488 GB, free: 22.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.3, allocations: 328.5 kB / 0.5491 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-06/0.3, allocations: 4 kB / 0.5491 GB, free: 22.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-06/0.3, allocations: 0 / 0.5491 GB, free: 22.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.014e-05/0.3, allocations: 75.28 kB / 0.5492 GB, free: 22.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3, allocations: 75.28 kB / 0.5493 GB, free: 22.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.951e-05/0.3001, allocations: 39.16 kB / 0.5493 GB, free: 22.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3001, allocations: 85.73 kB / 0.5494 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3001, allocations: 82.53 kB / 0.5495 GB, free: 22.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.3001, allocations: 154.6 kB / 0.5496 GB, free: 22.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-06/0.3002, allocations: 79.22 kB / 0.5497 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.3002, allocations: 158.5 kB / 0.5498 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.3002, allocations: 78.41 kB / 0.5499 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3003, allocations: 82.59 kB / 0.55 GB, free: 21.63 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 6.238e-05/0.3003, allocations: 282.3 kB / 0.5503 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.3004, allocations: 130.6 kB / 0.5504 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.3004, allocations: 126 kB / 0.5505 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.3004, allocations: 180.2 kB / 0.5507 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.3004, allocations: 176.3 kB / 0.5509 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.3004, allocations: 187.6 kB / 0.551 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.3006, allocations: 409.7 kB / 0.5514 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.3006, allocations: 112.3 kB / 0.5515 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.3006, allocations: 112.3 kB / 0.5516 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/0.3006, allocations: 180.2 kB / 0.5518 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.3007, allocations: 183.4 kB / 0.552 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.97e-05/0.3007, allocations: 176.3 kB / 0.5521 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.153e-05/0.3007, allocations: 184.2 kB / 0.5523 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.701e-05/0.3008, allocations: 316.5 kB / 0.5526 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.3008, allocations: 126.9 kB / 0.5527 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.3008, allocations: 179.6 kB / 0.5529 GB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.3009, allocations: 112.9 kB / 0.553 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.3009, allocations: 183.4 kB / 0.5532 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.301, allocations: 101 kB / 0.5533 GB, free: 18.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3011, allocations: 177 kB / 0.5535 GB, free: 18.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3011, allocations: 0 / 0.5535 GB, free: 18.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3013, allocations: 3.156 kB / 0.5535 GB, free: 18.07 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 5.395e-05/0.3014, allocations: 171 kB / 0.5536 GB, free: 17.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 2.942e-05/0.3014, allocations: 4 kB / 0.5536 GB, free: 17.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3014, allocations: 0 / 0.5536 GB, free: 17.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.3014, allocations: 0 / 0.5536 GB, free: 17.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3017, allocations: 461.2 kB / 0.5541 GB, free: 17.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.3019, allocations: 300.3 kB / 0.5544 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.302, allocations: 0.718 MB / 0.5551 GB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.177e-05/0.302, allocations: 0 / 0.5551 GB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.302, allocations: 7.438 kB / 0.5551 GB, free: 16.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.302, allocations: 0 / 0.5551 GB, free: 16.52 MB / 382.1 MB Notification: Performance of Templates: time 0.002343/0.3044, allocations: 307.2 kB / 0.5554 GB, free: 16.44 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.001086168922484] Failed to read output from testmodel.py, exit status != 0: 0.3118132338859141 0.32142849500000004 0.020159763 Calling exit ...