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.001102/0.001102, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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 0.9727/0.9727, allocations: 177.1 MB / 201 MB, free: 5.711 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.001426/0.001426, allocations: 152.7 kB / 257.7 MB, free: 12.98 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.03636/0.03636, allocations: 6.66 MB / 320.9 MB, free: 11.45 MB / 298.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 1.713e-06/1.713e-06, allocations: 0 / 392.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.594e-05, allocations: 2.312 kB / 392.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001028/0.001044, allocations: 0.5091 MB / 393.4 MB, free: 2.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.0022, allocations: 1.139 MB / 394.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.00223, allocations: 0 / 394.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.002474, allocations: 23.91 kB / 394.5 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.002521, allocations: 31.83 kB / 394.6 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.002524, allocations: 0 / 394.6 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.056e-05/0.002575, allocations: 23.92 kB / 394.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.002613, allocations: 4 kB / 394.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.002753, allocations: 27.91 kB / 394.6 MB, free: 1.605 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.899e-05/0.002852, allocations: 31.91 kB / 394.7 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.002863, allocations: 0 / 394.7 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.002876, allocations: 0 / 394.7 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.002981, allocations: 79.84 kB / 394.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.002998, allocations: 11.88 kB / 394.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.339e-05/0.003062, allocations: 43.78 kB / 394.8 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003063, allocations: 0 / 394.8 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003064, allocations: 0 / 394.8 MB, free: 1.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003068, allocations: 0 / 394.8 MB, free: 1.441 MB / 362.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.0002996/0.003367, allocations: 444 kB / 395.2 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.003397, allocations: 8.031 kB / 395.2 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.003447, allocations: 136 kB / 395.4 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.003567, allocations: 264.5 kB / 395.6 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.003622, allocations: 238.8 kB / 395.9 MB, free: 316 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.003677, allocations: 238.8 kB / 396.1 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.05e-05/0.003747, allocations: 153.5 kB / 396.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.003777, allocations: 119.4 kB / 396.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.003835, allocations: 238.8 kB / 396.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.003889, allocations: 242.3 kB / 396.8 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.00394, allocations: 246.3 kB / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.004167, allocations: 0.5803 MB / 397.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.004246, allocations: 261.4 kB / 397.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.004276, allocations: 126.9 kB / 398 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.004306, allocations: 127.2 kB / 398.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.004349, allocations: 152.6 kB / 398.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.00435, allocations: 0 / 398.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.537e-05/0.004405, allocations: 45.55 kB / 398.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.004458, allocations: 170.6 kB / 398.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.004603, allocations: 270.6 kB / 398.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.004609, allocations: 25.7 kB / 398.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.00467, allocations: 174.8 kB / 399 MB, free: 13.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.72e-07/0.004671, allocations: 0 / 399 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.004687, allocations: 15.38 kB / 399 MB, free: 13.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.004811, allocations: 0.504 MB / 399.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-06/0.004813, allocations: 3.938 kB / 399.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-06/0.004816, allocations: 0 / 399.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.004842, allocations: 123.2 kB / 399.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.656e-05/0.004869, allocations: 119.2 kB / 399.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.333e-05/0.004912, allocations: 49.62 kB / 399.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.004946, allocations: 127.2 kB / 399.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.004974, allocations: 123.2 kB / 400 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.094e-05/0.005035, allocations: 250.3 kB / 400.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.451e-05/0.005059, allocations: 119.2 kB / 400.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.918e-05/0.005108, allocations: 238.4 kB / 400.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.005167, allocations: 127.1 kB / 400.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.005193, allocations: 123.2 kB / 400.9 MB, free: 11.15 MB / 378.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.0001075/0.005301, allocations: 398.9 kB / 401.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.005351, allocations: 164.7 kB / 401.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.0054, allocations: 157.2 kB / 401.6 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-05/0.005473, allocations: 276.1 kB / 401.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.876e-05/0.005532, allocations: 276 kB / 402.1 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.746e-05/0.005599, allocations: 268 kB / 402.4 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.005788, allocations: 0.4965 MB / 402.9 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.624e-05/0.005824, allocations: 148.9 kB / 403 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.005859, allocations: 152.9 kB / 403.2 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.468e-05/0.005924, allocations: 272 kB / 403.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.005979, allocations: 264.1 kB / 403.7 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.695e-05/0.006036, allocations: 272 kB / 403.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.498e-05/0.006091, allocations: 264.1 kB / 404.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.00621, allocations: 459.8 kB / 404.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.006255, allocations: 161.1 kB / 404.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.006321, allocations: 276 kB / 405.1 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.006382, allocations: 148.9 kB / 405.2 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.006444, allocations: 276 kB / 405.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.006477, allocations: 144.9 kB / 405.6 MB, free: 6.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.006558, allocations: 180.1 kB / 405.8 MB, free: 6.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006558, allocations: 0 / 405.8 MB, free: 6.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.006713, allocations: 4 kB / 405.8 MB, free: 6 MB / 378.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.088e-05/0.006804, allocations: 210.4 kB / 406 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.312e-05/0.006837, allocations: 3.938 kB / 406 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006838, allocations: 7.938 kB / 406 MB, free: 5.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.00684, allocations: 3.938 kB / 406 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.007141, allocations: 0.7135 MB / 406.7 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.007395, allocations: 317.9 kB / 407.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.007443, allocations: 75.19 kB / 407.1 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.323e-05/0.007456, allocations: 0 / 407.1 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.007493, allocations: 66.2 kB / 407.2 MB, free: 4.551 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.007494, allocations: 0 / 407.2 MB, free: 4.551 MB / 378.7 MB Notification: Performance of Templates: time 0.001671/0.009165, allocations: 285.1 kB / 407.5 MB, free: 4.277 MB / 378.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: 2.8960508829914033]