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.001044/0.001044, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.123/1.123, allocations: 177.1 MB / 200 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] 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.001446/0.001446, allocations: 156.6 kB / 256.6 MB, free: 13.02 MB / 250.7 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.02416/0.02416, allocations: 6.66 MB / 319.8 MB, free: 26.54 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.366e-05, allocations: 2.312 kB / 391.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001307/0.001341, allocations: 0.5167 MB / 392.1 MB, free: 2.094 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.002605, allocations: 1.147 MB / 393.3 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.002637, allocations: 0 / 393.3 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.00293, allocations: 23.91 kB / 393.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.002984, allocations: 31.78 kB / 393.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.002987, allocations: 0 / 393.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.003043, allocations: 19.92 kB / 393.4 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.003079, allocations: 0 / 393.4 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.00325, allocations: 31.89 kB / 393.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.003349, allocations: 19.98 kB / 393.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.003362, allocations: 0 / 393.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.003371, allocations: 8 kB / 393.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.003485, allocations: 75.78 kB / 393.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.003506, allocations: 7.938 kB / 393.5 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.373e-05/0.00358, allocations: 43.78 kB / 393.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003582, allocations: 0 / 393.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003583, allocations: 4 kB / 393.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.003587, allocations: 0 / 393.5 MB, free: 0.668 MB / 314.7 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.0003562/0.003943, allocations: 448 kB / 394 MB, free: 200 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.003987, allocations: 8.031 kB / 394 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.004042, allocations: 136 kB / 394.1 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.004195, allocations: 268.4 kB / 394.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/0.004251, allocations: 242.8 kB / 394.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.004304, allocations: 238.8 kB / 394.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.444e-05/0.004369, allocations: 149.4 kB / 395 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.004399, allocations: 127.4 kB / 395.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.004464, allocations: 238.8 kB / 395.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-05/0.004532, allocations: 246.3 kB / 395.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.004594, allocations: 242.3 kB / 395.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.005329, allocations: 0.6149 MB / 396.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.005426, allocations: 269.4 kB / 396.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.005459, allocations: 126.9 kB / 396.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.005488, allocations: 123.2 kB / 397 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.005528, allocations: 152.6 kB / 397.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.005529, allocations: 0 / 397.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.2e-05/0.005601, allocations: 45.55 kB / 397.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.005658, allocations: 178.5 kB / 397.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.005839, allocations: 274.8 kB / 397.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.005848, allocations: 25.7 kB / 397.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.005911, allocations: 170.9 kB / 397.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.005913, allocations: 0 / 397.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.005933, allocations: 15.38 kB / 397.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.006056, allocations: 0.504 MB / 398.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.006062, allocations: 4 kB / 398.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-06/0.006065, allocations: 0 / 398.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.006096, allocations: 119.2 kB / 398.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/0.006124, allocations: 123.2 kB / 398.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.064e-05/0.006175, allocations: 53.61 kB / 398.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.00621, allocations: 123.2 kB / 398.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.006236, allocations: 119.2 kB / 398.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.766e-05/0.006304, allocations: 246.3 kB / 399.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.886e-05/0.006343, allocations: 119.2 kB / 399.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-05/0.006398, allocations: 246.3 kB / 399.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.006468, allocations: 127.1 kB / 399.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.006495, allocations: 119.2 kB / 399.7 MB, free: 10.31 MB / 330.7 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.0001306/0.006626, allocations: 398.9 kB / 400.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.006679, allocations: 160.8 kB / 400.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.00674, allocations: 161.4 kB / 400.4 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/0.0068, allocations: 272.1 kB / 400.6 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.233e-05/0.006862, allocations: 272 kB / 400.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/0.006924, allocations: 268.1 kB / 401.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.007117, allocations: 0.5389 MB / 401.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.232e-05/0.007149, allocations: 148.9 kB / 401.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.007181, allocations: 144.9 kB / 402 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.177e-05/0.007242, allocations: 272 kB / 402.3 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/0.007306, allocations: 264.1 kB / 402.5 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.867e-05/0.007365, allocations: 272 kB / 402.8 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.173e-05/0.007427, allocations: 280.1 kB / 403.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.00784, allocations: 459.8 kB / 403.5 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.00789, allocations: 161.1 kB / 403.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.007975, allocations: 272 kB / 403.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.008038, allocations: 152.9 kB / 404.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.008101, allocations: 272 kB / 404.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.008133, allocations: 148.8 kB / 404.5 MB, free: 5.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.00823, allocations: 184.1 kB / 404.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00823, allocations: 0 / 404.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.008397, allocations: 4 kB / 404.7 MB, free: 5.105 MB / 330.7 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.548e-05/0.008492, allocations: 214.4 kB / 404.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.405e-05/0.008536, allocations: 0 / 404.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.008538, allocations: 0 / 404.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.00854, allocations: 3.938 kB / 404.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.008858, allocations: 0.7171 MB / 405.6 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.009147, allocations: 317.8 kB / 405.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.524e-05/0.009192, allocations: 79.25 kB / 406 MB, free: 3.727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.009209, allocations: 0 / 406 MB, free: 3.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.009236, allocations: 8.5 kB / 406 MB, free: 3.719 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.009237, allocations: 4 kB / 406 MB, free: 3.715 MB / 330.7 MB Notification: Performance of Templates: time 0.001981/0.01122, allocations: 265.2 kB / 406.3 MB, free: 3.461 MB / 330.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2693250980228186]