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.001685/0.001685, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.498/1.498, allocations: 177.2 MB / 200.1 MB, free: 8.363 MB / 190.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.002121/0.002121, allocations: 157.4 kB / 256.6 MB, free: 4.293 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.03972/0.03972, allocations: 6.662 MB / 319.6 MB, free: 5.375 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.002893/0.002893, allocations: 79.88 kB / 446.4 MB, free: 25.4 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4054, allocations: 55.6 MB / 0.4902 GB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001901/0.4073, allocations: 0.5094 MB / 0.4907 GB, free: 7.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.409, allocations: 1.113 MB / 0.4918 GB, free: 6.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.4091, allocations: 1.094 kB / 0.4918 GB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.4094, allocations: 25.39 kB / 0.4918 GB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.4095, allocations: 28.61 kB / 0.4919 GB, free: 6.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.4095, allocations: 0 / 0.4919 GB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.4096, allocations: 26.55 kB / 0.4919 GB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.4096, allocations: 1.938 kB / 0.4919 GB, free: 6.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.4098, allocations: 23.22 kB / 0.4919 GB, free: 6.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.41, allocations: 30.19 kB / 0.4919 GB, free: 6.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.41, allocations: 1.188 kB / 0.4919 GB, free: 6.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.41, allocations: 1.281 kB / 0.4919 GB, free: 6.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.4102, allocations: 73.81 kB / 0.492 GB, free: 6.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.4102, allocations: 20.98 kB / 0.492 GB, free: 6.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.4104, allocations: 53.91 kB / 0.4921 GB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4104, allocations: 1.219 kB / 0.4921 GB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4104, allocations: 0 / 0.4921 GB, free: 6.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.4104, allocations: 0 / 0.4921 GB, free: 6.219 MB / 350.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.0004838/0.4109, allocations: 333.5 kB / 0.4924 GB, free: 5.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4109, allocations: 13.08 kB / 0.4924 GB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.411, allocations: 86.66 kB / 0.4925 GB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.4111, allocations: 240.9 kB / 0.4927 GB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.4112, allocations: 152.1 kB / 0.4929 GB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.4112, allocations: 156 kB / 0.493 GB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.764e-05/0.4113, allocations: 110.4 kB / 0.4931 GB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.4113, allocations: 76.31 kB / 0.4932 GB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.4113, allocations: 151.8 kB / 0.4933 GB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.4113, allocations: 154.6 kB / 0.4935 GB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.4114, allocations: 156 kB / 0.4936 GB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.4116, allocations: 432.9 kB / 0.4941 GB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.4117, allocations: 170.2 kB / 0.4942 GB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.4117, allocations: 85.14 kB / 0.4943 GB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.4117, allocations: 76.41 kB / 0.4944 GB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4118, allocations: 107.7 kB / 0.4945 GB, free: 3.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4118, allocations: 0 / 0.4945 GB, free: 3.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.575e-05/0.4119, allocations: 44.84 kB / 0.4945 GB, free: 3.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.4119, allocations: 132.1 kB / 0.4946 GB, free: 3.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.4122, allocations: 231 kB / 0.4949 GB, free: 3.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.4122, allocations: 29.7 kB / 0.4949 GB, free: 3.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.4123, allocations: 117.2 kB / 0.495 GB, free: 3.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.4123, allocations: 0 / 0.495 GB, free: 3.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.4123, allocations: 11.19 kB / 0.495 GB, free: 3.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.4124, allocations: 325.4 kB / 0.4953 GB, free: 2.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-06/0.4124, allocations: 0 / 0.4953 GB, free: 2.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-06/0.4124, allocations: 0 / 0.4953 GB, free: 2.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.4124, allocations: 80.69 kB / 0.4954 GB, free: 2.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.4124, allocations: 76.27 kB / 0.4955 GB, free: 2.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.433e-05/0.4125, allocations: 37.91 kB / 0.4955 GB, free: 2.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.4125, allocations: 80.36 kB / 0.4956 GB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.4125, allocations: 88.97 kB / 0.4957 GB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.392e-05/0.4126, allocations: 152.9 kB / 0.4958 GB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.711e-05/0.4126, allocations: 84.41 kB / 0.4959 GB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.4126, allocations: 152.7 kB / 0.496 GB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.4127, allocations: 77.41 kB / 0.4961 GB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.4127, allocations: 81.38 kB / 0.4962 GB, free: 2.109 MB / 350.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 0.0001132/0.4128, allocations: 288.3 kB / 0.4965 GB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.4129, allocations: 120.6 kB / 0.4966 GB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.4129, allocations: 130.6 kB / 0.4967 GB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.969e-05/0.413, allocations: 182.2 kB / 0.4969 GB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.249e-05/0.413, allocations: 181.5 kB / 0.4971 GB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/0.4131, allocations: 181.4 kB / 0.4972 GB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.4132, allocations: 391.4 kB / 0.4976 GB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.4133, allocations: 110 kB / 0.4977 GB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.4133, allocations: 102.2 kB / 0.4978 GB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.783e-05/0.4133, allocations: 177.2 kB / 0.498 GB, free: 276 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.4133, allocations: 185.4 kB / 0.4981 GB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-05/0.4134, allocations: 185 kB / 0.4983 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.962e-05/0.4135, allocations: 181.3 kB / 0.4985 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.4137, allocations: 315.7 kB / 0.4988 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.4138, allocations: 123.7 kB / 0.4989 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.4139, allocations: 180.4 kB / 0.4991 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.414, allocations: 115.2 kB / 0.4992 GB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4141, allocations: 181.2 kB / 0.4994 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.4142, allocations: 105.9 kB / 0.4995 GB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.4144, allocations: 182.2 kB / 0.4996 GB, free: 14.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4144, allocations: 0 / 0.4996 GB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.4146, allocations: 3.812 kB / 0.4996 GB, free: 14.58 MB / 366.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 0.0001465/0.4148, allocations: 167.8 kB / 0.4998 GB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.207e-05/0.4148, allocations: 7.594 kB / 0.4998 GB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4148, allocations: 0 / 0.4998 GB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.4148, allocations: 0 / 0.4998 GB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.4154, allocations: 462 kB / 0.5003 GB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.4158, allocations: 294.3 kB / 0.5005 GB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.416, allocations: 105 kB / 0.5006 GB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.835e-05/0.416, allocations: 2.188 kB / 0.5006 GB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.416, allocations: 8.5 kB / 0.5006 GB, free: 13.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.416, allocations: 0 / 0.5006 GB, free: 13.65 MB / 366.1 MB Notification: Performance of Templates: time 0.002918/0.419, allocations: 246.1 kB / 0.5009 GB, free: 13.58 MB / 366.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.296119834994897] Failed to read output from testmodel.py, exit status != 0: 0.4283006920013577 0.447384903 0.033484041 Calling exit ...