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.001364/0.001364, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.48/1.48, allocations: 230.6 MB / 253.4 MB, free: 14.27 MB / 206.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.001562/0.001562, allocations: 216.2 kB / 310 MB, free: 3.043 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.04177/0.04177, allocations: 8.909 MB / 375.3 MB, free: 6.59 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.002576/0.002576, allocations: 83.81 kB / 0.4903 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0774/0.07997, allocations: 55.61 MB / 0.5447 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.00155/0.08152, allocations: 0.4972 MB / 0.5451 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.08301, allocations: 1.114 MB / 0.5462 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.08304, allocations: 0 / 0.5462 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.08328, allocations: 31.89 kB / 0.5463 GB, free: 2.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.08334, allocations: 15.92 kB / 0.5463 GB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.08334, allocations: 4 kB / 0.5463 GB, free: 2.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.299e-05/0.08343, allocations: 23.97 kB / 0.5463 GB, free: 2.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.08347, allocations: 7.984 kB / 0.5463 GB, free: 2.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.08363, allocations: 27.86 kB / 0.5463 GB, free: 2.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.08373, allocations: 23.91 kB / 0.5464 GB, free: 2.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.08375, allocations: 0 / 0.5464 GB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.08376, allocations: 0 / 0.5464 GB, free: 2.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.08391, allocations: 75.84 kB / 0.5464 GB, free: 2.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.08394, allocations: 15.81 kB / 0.5464 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.116e-05/0.08402, allocations: 55.59 kB / 0.5465 GB, free: 2.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.08402, allocations: 3.938 kB / 0.5465 GB, free: 2.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08403, allocations: 0 / 0.5465 GB, free: 2.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.08403, allocations: 0 / 0.5465 GB, free: 2.66 MB / 366.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.0004749/0.0845, allocations: 337.7 kB / 0.5468 GB, free: 2.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.08454, allocations: 15.98 kB / 0.5468 GB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.0846, allocations: 88.17 kB / 0.5469 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.08483, allocations: 230.5 kB / 0.5471 GB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.08489, allocations: 150.9 kB / 0.5473 GB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.08498, allocations: 154.9 kB / 0.5474 GB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.445e-05/0.08506, allocations: 105.3 kB / 0.5475 GB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.08509, allocations: 75.28 kB / 0.5476 GB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.08516, allocations: 154.6 kB / 0.5478 GB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.744e-05/0.08523, allocations: 150.6 kB / 0.5479 GB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.596e-05/0.08529, allocations: 158.5 kB / 0.548 GB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.0856, allocations: 429.6 kB / 0.5485 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.08571, allocations: 169.1 kB / 0.5486 GB, free: 388 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.08575, allocations: 84.14 kB / 0.5487 GB, free: 300 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.08579, allocations: 79.27 kB / 0.5488 GB, free: 220 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.08584, allocations: 109.8 kB / 0.5489 GB, free: 100 kB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.08584, allocations: 0 / 0.5489 GB, free: 100 kB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.969e-05/0.08592, allocations: 53.48 kB / 0.5489 GB, free: 40 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.08601, allocations: 126.7 kB / 0.5491 GB, free: 15.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.08626, allocations: 227.8 kB / 0.5493 GB, free: 15.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.08627, allocations: 25.7 kB / 0.5493 GB, free: 15.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.08636, allocations: 116.1 kB / 0.5494 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.08636, allocations: 4 kB / 0.5494 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.08638, allocations: 9.766 kB / 0.5494 GB, free: 15.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.08656, allocations: 334.8 kB / 0.5497 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-06/0.08656, allocations: 0 / 0.5497 GB, free: 15.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-06/0.08657, allocations: 3.938 kB / 0.5497 GB, free: 15.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.0866, allocations: 79.28 kB / 0.5498 GB, free: 15.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.554e-05/0.08664, allocations: 79.22 kB / 0.5499 GB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.519e-05/0.0867, allocations: 41.64 kB / 0.5499 GB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.08674, allocations: 79.28 kB / 0.55 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/0.08678, allocations: 83.22 kB / 0.5501 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-05/0.08686, allocations: 158.5 kB / 0.5502 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.238e-05/0.08689, allocations: 75.41 kB / 0.5503 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-05/0.08696, allocations: 162.5 kB / 0.5505 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.08705, allocations: 79.28 kB / 0.5505 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.08709, allocations: 79.27 kB / 0.5506 GB, free: 14.25 MB / 382.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.000155/0.08724, allocations: 285.7 kB / 0.5509 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.08732, allocations: 116.8 kB / 0.551 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.08739, allocations: 125.4 kB / 0.5511 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.466e-05/0.08746, allocations: 184.2 kB / 0.5513 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-05/0.08754, allocations: 176.3 kB / 0.5515 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.71e-05/0.08761, allocations: 184.3 kB / 0.5516 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.08787, allocations: 392.8 kB / 0.552 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.555e-05/0.08791, allocations: 101 kB / 0.5521 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.08796, allocations: 108.9 kB / 0.5522 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.072e-05/0.08804, allocations: 184.3 kB / 0.5524 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.08812, allocations: 176.3 kB / 0.5526 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.362e-05/0.0882, allocations: 192.1 kB / 0.5527 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.449e-05/0.08827, allocations: 176.3 kB / 0.5529 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.08844, allocations: 315.7 kB / 0.5532 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.08852, allocations: 128.9 kB / 0.5533 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.08861, allocations: 180.2 kB / 0.5535 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.08872, allocations: 112.9 kB / 0.5536 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.0888, allocations: 180.2 kB / 0.5538 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.08885, allocations: 109 kB / 0.5539 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.089, allocations: 172.1 kB / 0.5541 GB, free: 10.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.089, allocations: 0 / 0.5541 GB, free: 10.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.08927, allocations: 4 kB / 0.5541 GB, free: 10.54 MB / 382.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.000117/0.08938, allocations: 170.5 kB / 0.5542 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.478e-05/0.08944, allocations: 7.938 kB / 0.5542 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.08944, allocations: 0 / 0.5542 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.08945, allocations: 7.938 kB / 0.5542 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.08986, allocations: 463.5 kB / 0.5547 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.09025, allocations: 322.7 kB / 0.555 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.879e-05/0.09035, allocations: 100.6 kB / 0.5551 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.09037, allocations: 11.42 kB / 0.5551 GB, free: 9.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.09037, allocations: 0 / 0.5551 GB, free: 9.414 MB / 382.1 MB Notification: Performance of Templates: time 0.002087/0.09246, allocations: 0.7774 MB / 0.5558 GB, free: 8.637 MB / 382.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: 7.127167785074562] Failed to read output from testmodel.py, exit status != 0: 0.0996773149818182 0.269223669 0.18280912100000002 Calling exit ...