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.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.001508/0.001508, 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.351/1.351, allocations: 225.6 MB / 245.5 MB, free: 14.16 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.001466/0.001466, allocations: 198 kB / 300.5 MB, free: 9.852 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.04104/0.04104, allocations: 8.935 MB / 364.3 MB, free: 10.2 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.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 0.002428/0.002428, allocations: 80.88 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08501, allocations: 54.41 MB / 0.5289 GB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001558/0.08657, allocations: 0.5006 MB / 0.5294 GB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.088, allocations: 1.1 MB / 0.5305 GB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.08802, allocations: 0 / 0.5305 GB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.08825, allocations: 19.91 kB / 0.5305 GB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.08832, allocations: 23.91 kB / 0.5305 GB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.08832, allocations: 0 / 0.5305 GB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.312e-05/0.08838, allocations: 27.97 kB / 0.5306 GB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.08842, allocations: 4 kB / 0.5306 GB, free: 15.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.08852, allocations: 23.86 kB / 0.5306 GB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.08862, allocations: 19.97 kB / 0.5306 GB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.08863, allocations: 3.938 kB / 0.5306 GB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.08864, allocations: 0 / 0.5306 GB, free: 15.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.0888, allocations: 71.84 kB / 0.5307 GB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.08883, allocations: 23.75 kB / 0.5307 GB, free: 15.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.224e-05/0.08891, allocations: 55.59 kB / 0.5308 GB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.08891, allocations: 0 / 0.5308 GB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08892, allocations: 0 / 0.5308 GB, free: 14.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.08892, allocations: 0 / 0.5308 GB, free: 14.96 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.0004909/0.08941, allocations: 414.7 kB / 0.5312 GB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.08945, allocations: 16.03 kB / 0.5312 GB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.08951, allocations: 92.11 kB / 0.5313 GB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.08975, allocations: 280.4 kB / 0.5315 GB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.08982, allocations: 154.9 kB / 0.5317 GB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.08989, allocations: 150.9 kB / 0.5318 GB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.226e-05/0.08996, allocations: 109.3 kB / 0.5319 GB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.09, allocations: 79.28 kB / 0.532 GB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.09006, allocations: 154.6 kB / 0.5321 GB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/0.09013, allocations: 150.6 kB / 0.5323 GB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.331e-05/0.09019, allocations: 154.5 kB / 0.5324 GB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.09055, allocations: 481.9 kB / 0.5329 GB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.754e-05/0.09064, allocations: 169.1 kB / 0.5331 GB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.09069, allocations: 80.19 kB / 0.5331 GB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.09073, allocations: 87.28 kB / 0.5332 GB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.09079, allocations: 113.7 kB / 0.5333 GB, free: 12.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.09079, allocations: 0 / 0.5333 GB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.724e-05/0.09087, allocations: 37.66 kB / 0.5334 GB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.09094, allocations: 126.7 kB / 0.5335 GB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.0912, allocations: 231.8 kB / 0.5337 GB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.09121, allocations: 25.7 kB / 0.5337 GB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.09129, allocations: 116.1 kB / 0.5338 GB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.09129, allocations: 0 / 0.5338 GB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.09132, allocations: 17.72 kB / 0.5338 GB, free: 11.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.09147, allocations: 322.8 kB / 0.5342 GB, free: 11.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-06/0.09147, allocations: 11.88 kB / 0.5342 GB, free: 11.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-06/0.09148, allocations: 0 / 0.5342 GB, free: 11.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.09152, allocations: 79.27 kB / 0.5342 GB, free: 11.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-05/0.09155, allocations: 75.28 kB / 0.5343 GB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.891e-05/0.09162, allocations: 45.55 kB / 0.5344 GB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.09166, allocations: 90.03 kB / 0.5344 GB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/0.0917, allocations: 75.28 kB / 0.5345 GB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-05/0.09177, allocations: 158.5 kB / 0.5347 GB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.09181, allocations: 79.28 kB / 0.5347 GB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.844e-05/0.09187, allocations: 151.5 kB / 0.5349 GB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.09197, allocations: 87.2 kB / 0.535 GB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.092, allocations: 75.28 kB / 0.535 GB, free: 10.32 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.0001559/0.09216, allocations: 284.3 kB / 0.5353 GB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.09224, allocations: 128.8 kB / 0.5354 GB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.09231, allocations: 121.5 kB / 0.5356 GB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.746e-05/0.09239, allocations: 176.3 kB / 0.5357 GB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.344e-05/0.09247, allocations: 192.2 kB / 0.5359 GB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.773e-05/0.09255, allocations: 176.5 kB / 0.5361 GB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.09285, allocations: 445.1 kB / 0.5365 GB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/0.09289, allocations: 101 kB / 0.5366 GB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.09295, allocations: 112.9 kB / 0.5367 GB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.606e-05/0.09302, allocations: 184.2 kB / 0.5369 GB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/0.0931, allocations: 176.3 kB / 0.537 GB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-05/0.09318, allocations: 180.2 kB / 0.5372 GB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-05/0.09326, allocations: 180.3 kB / 0.5374 GB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.09342, allocations: 319.7 kB / 0.5377 GB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.09353, allocations: 193.9 kB / 0.5379 GB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.09361, allocations: 180.2 kB / 0.5381 GB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.09372, allocations: 117 kB / 0.5382 GB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.0938, allocations: 184.2 kB / 0.5383 GB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.09385, allocations: 101 kB / 0.5384 GB, free: 6.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.09401, allocations: 173.5 kB / 0.5386 GB, free: 6.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09401, allocations: 0 / 0.5386 GB, free: 6.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.09428, allocations: 4 kB / 0.5386 GB, free: 6.445 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 (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.0001161/0.0944, allocations: 170.5 kB / 0.5388 GB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.263e-05/0.09443, allocations: 4 kB / 0.5388 GB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.09443, allocations: 3.938 kB / 0.5388 GB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.589e-06/0.09443, allocations: 11.94 kB / 0.5388 GB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.09484, allocations: 455.6 kB / 0.5392 GB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.09524, allocations: 338.6 kB / 0.5395 GB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.09558, allocations: 0.7157 MB / 0.5402 GB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.0956, allocations: 7.438 kB / 0.5402 GB, free: 4.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.0956, allocations: 0 / 0.5402 GB, free: 4.684 MB / 350.1 MB Notification: Performance of Templates: time 0.002137/0.09774, allocations: 0.7305 MB / 0.541 GB, free: 3.949 MB / 350.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 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.573077362962067] Failed to read output from testmodel.py, exit status != 0: 0.23598016612231731 0.117684072 0.026021491 Calling exit ...