Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 245.5 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 186.6 kB / 300.5 MB, free: 9.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04393/0.04393, allocations: 8.938 MB / 364.3 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 85.56 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09251, allocations: 54.41 MB / 0.5289 GB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001835/0.09434, allocations: 0.5279 MB / 0.5294 GB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.09591, allocations: 1.12 MB / 0.5305 GB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.09594, allocations: 0 / 0.5305 GB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.09613, allocations: 11.92 kB / 0.5306 GB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.09623, allocations: 19.92 kB / 0.5306 GB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.027e-05/0.09629, allocations: 27.84 kB / 0.5306 GB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.252e-05/0.09638, allocations: 31.91 kB / 0.5306 GB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.09641, allocations: 0 / 0.5306 GB, free: 15.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.09654, allocations: 27.91 kB / 0.5307 GB, free: 15.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.09666, allocations: 35.89 kB / 0.5307 GB, free: 15.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.09668, allocations: 0 / 0.5307 GB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.0967, allocations: 7.938 kB / 0.5307 GB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.09682, allocations: 39.83 kB / 0.5307 GB, free: 15.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.09687, allocations: 23.8 kB / 0.5308 GB, free: 14.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.912e-05/0.09696, allocations: 55.64 kB / 0.5308 GB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.09696, allocations: 0 / 0.5308 GB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.09696, allocations: 0 / 0.5308 GB, free: 14.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.09697, allocations: 0 / 0.5308 GB, free: 14.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006624/0.09763, allocations: 414.9 kB / 0.5312 GB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.09766, allocations: 8.031 kB / 0.5312 GB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.0977, allocations: 12.89 kB / 0.5312 GB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.09795, allocations: 224.1 kB / 0.5314 GB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.09796, allocations: 4.375 kB / 0.5314 GB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.09798, allocations: 4.375 kB / 0.5314 GB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.3e-05/0.09807, allocations: 45.94 kB / 0.5315 GB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.09808, allocations: 0 / 0.5315 GB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.09809, allocations: 3.938 kB / 0.5315 GB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.09809, allocations: 0 / 0.5315 GB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.09812, allocations: 11.98 kB / 0.5315 GB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.09837, allocations: 189.7 kB / 0.5317 GB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.09848, allocations: 34.58 kB / 0.5317 GB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.09851, allocations: 16.94 kB / 0.5317 GB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.09853, allocations: 0 / 0.5317 GB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.09856, allocations: 34.5 kB / 0.5318 GB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.09856, allocations: 3.938 kB / 0.5318 GB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001739/0.09874, allocations: 65.58 kB / 0.5318 GB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.09877, allocations: 51.41 kB / 0.5319 GB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.09902, allocations: 214.3 kB / 0.5321 GB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.09904, allocations: 29.7 kB / 0.5321 GB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.09911, allocations: 108.1 kB / 0.5322 GB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.09913, allocations: 3.953 kB / 0.5322 GB, free: 13.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.09917, allocations: 21.66 kB / 0.5322 GB, free: 13.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.09933, allocations: 326.8 kB / 0.5326 GB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.09936, allocations: 4 kB / 0.5326 GB, free: 12.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.09938, allocations: 8.172 kB / 0.5326 GB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/0.09943, allocations: 44.86 kB / 0.5326 GB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.09943, allocations: 0 / 0.5326 GB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.425e-05/0.09953, allocations: 57.59 kB / 0.5327 GB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.09954, allocations: 7.938 kB / 0.5327 GB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.09955, allocations: 4 kB / 0.5327 GB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.09956, allocations: 0 / 0.5327 GB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.237e-05/0.09963, allocations: 4 kB / 0.5327 GB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.09963, allocations: 0 / 0.5327 GB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.09969, allocations: 7.984 kB / 0.5327 GB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.09969, allocations: 0 / 0.5327 GB, free: 12.78 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 (3): * Single equations (assignments): 3 * 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.0001315/0.09982, allocations: 126.8 kB / 0.5328 GB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.09984, allocations: 11.89 kB / 0.5328 GB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.09998, allocations: 70.55 kB / 0.5329 GB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09998, allocations: 0 / 0.5329 GB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.09999, allocations: 0 / 0.5329 GB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.09999, allocations: 0 / 0.5329 GB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1002, allocations: 185.6 kB / 0.5331 GB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1002, allocations: 3.938 kB / 0.5331 GB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.1002, allocations: 7.984 kB / 0.5331 GB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1002, allocations: 7.938 kB / 0.5331 GB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1002, allocations: 4 kB / 0.5331 GB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1002, allocations: 0 / 0.5331 GB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1002, allocations: 0 / 0.5331 GB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1004, allocations: 84.97 kB / 0.5332 GB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.1004, allocations: 96.98 kB / 0.5333 GB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1004, allocations: 0 / 0.5333 GB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.1005, allocations: 4 kB / 0.5333 GB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1005, allocations: 7.984 kB / 0.5333 GB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1005, allocations: 0 / 0.5333 GB, free: 12.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1007, allocations: 167.2 kB / 0.5334 GB, free: 11.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1007, allocations: 0 / 0.5334 GB, free: 11.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.1009, allocations: 8 kB / 0.5334 GB, free: 11.9 MB / 350.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 (3): * Single equations (assignments): 3 * 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.916e-05/0.101, allocations: 91.25 kB / 0.5335 GB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.403e-05/0.1011, allocations: 24.12 kB / 0.5336 GB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1011, allocations: 0 / 0.5336 GB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-05/0.1011, allocations: 16.02 kB / 0.5336 GB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1012, allocations: 10.81 kB / 0.5336 GB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.1017, allocations: 227 kB / 0.5338 GB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.102, allocations: 0.7078 MB / 0.5345 GB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.102, allocations: 11.44 kB / 0.5345 GB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.102, allocations: 0 / 0.5345 GB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.00269/0.1047, allocations: 0.9534 MB / 0.5354 GB, free: 9.797 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5112980080302805] Failed to read output from testmodel.py, exit status != 0: 0.25389916612766683 0.126755361 0.026702177 Calling exit ...