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.001287/0.001287, allocations: 80.81 kB / 19.94 MB, free: 4.547 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 1.012/1.012, allocations: 177.1 MB / 200.3 MB, free: 5.66 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.001745/0.001745, allocations: 156.6 kB / 257 MB, free: 12.94 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.02488/0.02488, allocations: 6.668 MB / 266.9 MB, free: 3.199 MB / 250.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.433e-06/1.433e-06, allocations: 0 / 285.7 MB, free: 456 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.348e-05, allocations: 5.828 kB / 285.7 MB, free: 452 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.1076/0.1077, allocations: 0.543 MB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.109, allocations: 1.15 MB / 287.4 MB, free: 21.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.109, allocations: 0 / 287.4 MB, free: 21.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1093, allocations: 29.08 kB / 287.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.1094, allocations: 27.22 kB / 287.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.1094, allocations: 1.781 kB / 287.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.1095, allocations: 22.36 kB / 287.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.1095, allocations: 3.766 kB / 287.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.1097, allocations: 33.47 kB / 287.5 MB, free: 21.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1098, allocations: 22.11 kB / 287.5 MB, free: 21.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1098, allocations: 0.8125 kB / 287.5 MB, free: 21.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.1098, allocations: 5.344 kB / 287.5 MB, free: 21.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1099, allocations: 77.41 kB / 287.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.1099, allocations: 10.84 kB / 287.6 MB, free: 21.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.065e-05/0.11, allocations: 40.81 kB / 287.6 MB, free: 21.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.11, allocations: 3.516 kB / 287.6 MB, free: 21.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.11, allocations: 0.625 kB / 287.6 MB, free: 21.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.11, allocations: 0 / 287.6 MB, free: 21.48 MB / 266.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.0002574/0.1103, allocations: 308.6 kB / 287.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1103, allocations: 9.781 kB / 287.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.1103, allocations: 89.31 kB / 288 MB, free: 21.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1105, allocations: 214.5 kB / 288.2 MB, free: 20.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1105, allocations: 152.1 kB / 288.4 MB, free: 20.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1105, allocations: 161.1 kB / 288.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.363e-05/0.1105, allocations: 101.5 kB / 288.6 MB, free: 20.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1105, allocations: 77.53 kB / 288.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1106, allocations: 155.1 kB / 288.9 MB, free: 20.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1106, allocations: 156.6 kB / 289 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.1106, allocations: 152 kB / 289.2 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.1107, allocations: 352.6 kB / 289.5 MB, free: 19.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.1107, allocations: 175.3 kB / 289.7 MB, free: 19.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.188e-05/0.1108, allocations: 83.61 kB / 289.8 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1108, allocations: 77.02 kB / 289.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1108, allocations: 108.8 kB / 290 MB, free: 19.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.1108, allocations: 0 / 290 MB, free: 19.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.924e-05/0.1109, allocations: 32.34 kB / 290 MB, free: 19.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1109, allocations: 132.6 kB / 290.1 MB, free: 18.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.111, allocations: 187.8 kB / 290.3 MB, free: 18.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-06/0.111, allocations: 26.41 kB / 290.3 MB, free: 18.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.1111, allocations: 102.5 kB / 290.4 MB, free: 18.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.51e-07/0.1111, allocations: 0 / 290.4 MB, free: 18.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.1111, allocations: 12.72 kB / 290.4 MB, free: 18.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4e-05/0.1111, allocations: 331.9 kB / 290.8 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-06/0.1111, allocations: 3.312 kB / 290.8 MB, free: 18.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-06/0.1111, allocations: 1.094 kB / 290.8 MB, free: 18.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.146e-06/0.1111, allocations: 75.91 kB / 290.8 MB, free: 18.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1111, allocations: 76.38 kB / 290.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.227e-05/0.1112, allocations: 36.09 kB / 291 MB, free: 18.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1112, allocations: 81.38 kB / 291 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1112, allocations: 80.53 kB / 291.1 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.1112, allocations: 153.4 kB / 291.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-06/0.1113, allocations: 79.88 kB / 291.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.1113, allocations: 159.1 kB / 291.5 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.1113, allocations: 80.62 kB / 291.6 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1113, allocations: 79.83 kB / 291.6 MB, free: 17.53 MB / 266.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 5.754e-05/0.1114, allocations: 262.7 kB / 291.9 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1114, allocations: 113.4 kB / 292 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.1114, allocations: 120.8 kB / 292.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.1115, allocations: 177.9 kB / 292.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.1115, allocations: 182.6 kB / 292.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.1115, allocations: 186.3 kB / 292.7 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1116, allocations: 342.8 kB / 293 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.1116, allocations: 107 kB / 293.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.1116, allocations: 102.8 kB / 293.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/0.1116, allocations: 183.4 kB / 293.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1117, allocations: 178.1 kB / 293.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.636e-05/0.1117, allocations: 179.2 kB / 293.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.858e-05/0.1117, allocations: 189.1 kB / 293.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.273e-05/0.1118, allocations: 316.5 kB / 294.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.1118, allocations: 114.8 kB / 294.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1118, allocations: 179.5 kB / 294.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.1119, allocations: 109.4 kB / 294.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.1119, allocations: 178.3 kB / 294.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1119, allocations: 107 kB / 294.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.112, allocations: 55.12 kB / 295 MB, free: 14.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.112, allocations: 2.156 kB / 295 MB, free: 14.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.1121, allocations: 3.406 kB / 295 MB, free: 14.18 MB / 266.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 7.01e-05/0.1122, allocations: 150.9 kB / 295.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.264e-05/0.1122, allocations: 1.156 kB / 295.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1122, allocations: 1 kB / 295.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.1122, allocations: 3.25 kB / 295.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.1123, allocations: 462.5 kB / 295.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.1126, allocations: 285 kB / 295.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.1126, allocations: 70.91 kB / 295.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.51e-05/0.1126, allocations: 1.281 kB / 295.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1127, allocations: 49.22 kB / 296 MB, free: 13.24 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1127, allocations: 1.125 kB / 296 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Templates: time 0.001932/0.1146, allocations: 272.3 kB / 296.2 MB, free: 13.22 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.583635225892067]