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.001625/0.001625, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.487/1.487, allocations: 225.6 MB / 246.2 MB, free: 13.58 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.001463/0.001463, allocations: 189.9 kB / 301.4 MB, free: 9.082 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.04071/0.04071, allocations: 8.915 MB / 365.5 MB, free: 9.211 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.003782/0.003782, allocations: 80.38 kB / 489.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1404, allocations: 54.41 MB / 0.531 GB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001898/0.1423, allocations: 0.5172 MB / 0.5315 GB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.144, allocations: 1.1 MB / 0.5326 GB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.144, allocations: 0 / 0.5326 GB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1443, allocations: 23.91 kB / 0.5326 GB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.1444, allocations: 31.91 kB / 0.5326 GB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.658e-06/0.1444, allocations: 0 / 0.5326 GB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.377e-05/0.1445, allocations: 15.98 kB / 0.5327 GB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.835e-05/0.1445, allocations: 3.984 kB / 0.5327 GB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1446, allocations: 23.86 kB / 0.5327 GB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1448, allocations: 27.91 kB / 0.5327 GB, free: 12.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1448, allocations: 0 / 0.5327 GB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.1448, allocations: 4 kB / 0.5327 GB, free: 12.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1449, allocations: 71.83 kB / 0.5328 GB, free: 12.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.145, allocations: 31.69 kB / 0.5328 GB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.814e-05/0.1451, allocations: 47.66 kB / 0.5329 GB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1451, allocations: 0 / 0.5329 GB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1451, allocations: 0 / 0.5329 GB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1451, allocations: 4 kB / 0.5329 GB, free: 12.82 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.0005826/0.1457, allocations: 410.8 kB / 0.5333 GB, free: 12.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1457, allocations: 8.031 kB / 0.5333 GB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.1458, allocations: 88.12 kB / 0.5333 GB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1461, allocations: 296.2 kB / 0.5336 GB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.1461, allocations: 150.9 kB / 0.5338 GB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.1462, allocations: 154.9 kB / 0.5339 GB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/0.1463, allocations: 109.3 kB / 0.534 GB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.1464, allocations: 83.22 kB / 0.5341 GB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.1464, allocations: 150.6 kB / 0.5342 GB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.864e-05/0.1465, allocations: 150.6 kB / 0.5344 GB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.1466, allocations: 162.5 kB / 0.5345 GB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.1469, allocations: 481.9 kB / 0.535 GB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.147, allocations: 165.1 kB / 0.5352 GB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.1471, allocations: 84.12 kB / 0.5352 GB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.1471, allocations: 75.28 kB / 0.5353 GB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.1472, allocations: 117.7 kB / 0.5354 GB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1472, allocations: 0 / 0.5354 GB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.221e-05/0.1472, allocations: 37.66 kB / 0.5355 GB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.1473, allocations: 126.7 kB / 0.5356 GB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1476, allocations: 235.8 kB / 0.5358 GB, free: 9.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1476, allocations: 25.7 kB / 0.5358 GB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.1477, allocations: 116.1 kB / 0.5359 GB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.1477, allocations: 0 / 0.5359 GB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.1477, allocations: 13.72 kB / 0.536 GB, free: 9.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1479, allocations: 326.8 kB / 0.5363 GB, free: 9.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-06/0.1479, allocations: 3.938 kB / 0.5363 GB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.1479, allocations: 0 / 0.5363 GB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.1479, allocations: 79.28 kB / 0.5363 GB, free: 9.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.436e-05/0.148, allocations: 79.22 kB / 0.5364 GB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.854e-05/0.148, allocations: 45.59 kB / 0.5365 GB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.1481, allocations: 83.22 kB / 0.5365 GB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/0.1481, allocations: 79.28 kB / 0.5366 GB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.46e-05/0.1482, allocations: 158.5 kB / 0.5368 GB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.554e-05/0.1482, allocations: 75.28 kB / 0.5368 GB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.925e-05/0.1483, allocations: 155.4 kB / 0.537 GB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.1484, allocations: 75.28 kB / 0.5371 GB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.1484, allocations: 87.27 kB / 0.5371 GB, free: 8.18 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.0001707/0.1486, allocations: 288.3 kB / 0.5374 GB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.1487, allocations: 124.8 kB / 0.5375 GB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-05/0.1488, allocations: 125.5 kB / 0.5377 GB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/0.1489, allocations: 184.2 kB / 0.5378 GB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.4e-05/0.149, allocations: 176.3 kB / 0.538 GB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.054e-05/0.149, allocations: 184.5 kB / 0.5382 GB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.1493, allocations: 441.1 kB / 0.5386 GB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.663e-05/0.1494, allocations: 109 kB / 0.5387 GB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.1494, allocations: 104.9 kB / 0.5388 GB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.756e-05/0.1495, allocations: 184.2 kB / 0.539 GB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/0.1496, allocations: 180.3 kB / 0.5392 GB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.511e-05/0.1497, allocations: 192.2 kB / 0.5393 GB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.2e-05/0.1497, allocations: 176.3 kB / 0.5395 GB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1499, allocations: 319.7 kB / 0.5398 GB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.15, allocations: 190 kB / 0.54 GB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/0.1501, allocations: 188.2 kB / 0.5402 GB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.1502, allocations: 105 kB / 0.5403 GB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.1503, allocations: 180.2 kB / 0.5404 GB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.1504, allocations: 105 kB / 0.5405 GB, free: 4.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1505, allocations: 168.2 kB / 0.5407 GB, free: 4.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1505, allocations: 0 / 0.5407 GB, free: 4.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1508, allocations: 4 kB / 0.5407 GB, free: 4.305 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.0001263/0.1509, allocations: 184.8 kB / 0.5409 GB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.281e-05/0.151, allocations: 3.938 kB / 0.5409 GB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.151, allocations: 0 / 0.5409 GB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.151, allocations: 0 / 0.5409 GB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1514, allocations: 459.7 kB / 0.5413 GB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.1518, allocations: 308.9 kB / 0.5416 GB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1522, allocations: 0.7157 MB / 0.5423 GB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.552e-05/0.1522, allocations: 0 / 0.5423 GB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.1522, allocations: 7.438 kB / 0.5423 GB, free: 2.578 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1522, allocations: 0 / 0.5423 GB, free: 2.578 MB / 350.1 MB Notification: Performance of Templates: time 0.00282/0.155, allocations: 289 kB / 0.5426 GB, free: 2.297 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: 4.853231463581324]