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.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.00142/0.00142, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.513/1.513, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001569/0.001569, allocations: 205.5 kB / 310 MB, free: 3.055 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.0423/0.0423, allocations: 8.911 MB / 375.3 MB, free: 6.594 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.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: 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.002524/0.002524, allocations: 83.86 kB / 0.4904 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08853, allocations: 55.61 MB / 0.5447 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001723/0.09025, allocations: 0.5151 MB / 0.5452 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.09187, allocations: 1.134 MB / 0.5463 GB, free: 2.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.0919, allocations: 0 / 0.5463 GB, free: 2.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.09206, allocations: 19.92 kB / 0.5463 GB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.09217, allocations: 19.91 kB / 0.5463 GB, free: 2.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.498e-05/0.09222, allocations: 11.92 kB / 0.5463 GB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.09231, allocations: 35.84 kB / 0.5464 GB, free: 2.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.09236, allocations: 12 kB / 0.5464 GB, free: 2.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.09253, allocations: 27.84 kB / 0.5464 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.09267, allocations: 39.89 kB / 0.5464 GB, free: 2.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.09269, allocations: 4 kB / 0.5464 GB, free: 2.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.09271, allocations: 0 / 0.5464 GB, free: 2.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.09281, allocations: 43.88 kB / 0.5465 GB, free: 2.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.09285, allocations: 27.8 kB / 0.5465 GB, free: 2.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.5e-05/0.09294, allocations: 47.64 kB / 0.5465 GB, free: 2.605 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09295, allocations: 4 kB / 0.5466 GB, free: 2.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09295, allocations: 0 / 0.5466 GB, free: 2.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.09295, allocations: 0 / 0.5466 GB, free: 2.602 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005862/0.09354, allocations: 329.8 kB / 0.5469 GB, free: 2.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.09358, allocations: 19.92 kB / 0.5469 GB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.09361, allocations: 12.84 kB / 0.5469 GB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.09382, allocations: 158.4 kB / 0.5471 GB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.09383, allocations: 4.359 kB / 0.5471 GB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.09384, allocations: 4.375 kB / 0.5471 GB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.28e-05/0.09394, allocations: 42 kB / 0.5471 GB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.09395, allocations: 0 / 0.5471 GB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.09395, allocations: 0 / 0.5471 GB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.09396, allocations: 0 / 0.5471 GB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.188e-05/0.09399, allocations: 12 kB / 0.5471 GB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.09418, allocations: 141.3 kB / 0.5472 GB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.09427, allocations: 38.5 kB / 0.5473 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.0943, allocations: 12.86 kB / 0.5473 GB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.09432, allocations: 3.938 kB / 0.5473 GB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.09435, allocations: 30.56 kB / 0.5473 GB, free: 1.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.09435, allocations: 4 kB / 0.5473 GB, free: 1.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.000177/0.09452, allocations: 73.64 kB / 0.5474 GB, free: 1.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.09457, allocations: 59.28 kB / 0.5475 GB, free: 1.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.09483, allocations: 214.9 kB / 0.5477 GB, free: 1.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.09484, allocations: 25.7 kB / 0.5477 GB, free: 1.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.09491, allocations: 108.1 kB / 0.5478 GB, free: 1.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.09494, allocations: 7.953 kB / 0.5478 GB, free: 1.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.09497, allocations: 17.72 kB / 0.5478 GB, free: 1.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.09514, allocations: 322.8 kB / 0.5481 GB, free: 0.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.09516, allocations: 7.984 kB / 0.5481 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.09518, allocations: 8 kB / 0.5481 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.09523, allocations: 24.84 kB / 0.5482 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.09523, allocations: 4 kB / 0.5482 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.454e-05/0.09532, allocations: 61.53 kB / 0.5482 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.09534, allocations: 4 kB / 0.5482 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.09534, allocations: 3.938 kB / 0.5482 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.09536, allocations: 0 / 0.5482 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.09543, allocations: 15.98 kB / 0.5482 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.09544, allocations: 3.984 kB / 0.5483 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.09548, allocations: 0 / 0.5483 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.09549, allocations: 4 kB / 0.5483 GB, free: 0.6875 MB / 366.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.0001106/0.0956, allocations: 121.8 kB / 0.5484 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.09563, allocations: 11.91 kB / 0.5484 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.09577, allocations: 74.62 kB / 0.5485 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09577, allocations: 0 / 0.5485 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.09578, allocations: 0 / 0.5485 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.09578, allocations: 3.938 kB / 0.5485 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.09592, allocations: 137.2 kB / 0.5486 GB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.09592, allocations: 0 / 0.5486 GB, free: 304 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.09596, allocations: 4 kB / 0.5486 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.09596, allocations: 0 / 0.5486 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.09597, allocations: 0 / 0.5486 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.09597, allocations: 7.938 kB / 0.5486 GB, free: 292 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.09597, allocations: 0 / 0.5486 GB, free: 292 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.0961, allocations: 85.06 kB / 0.5487 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.09613, allocations: 12.33 kB / 0.5487 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.09615, allocations: 0 / 0.5487 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.0962, allocations: 11.92 kB / 0.5487 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.09622, allocations: 7.938 kB / 0.5487 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.09623, allocations: 8 kB / 0.5487 GB, free: 148 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.0964, allocations: 164.2 kB / 0.5489 GB, free: 15.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0964, allocations: 0 / 0.5489 GB, free: 15.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001893/0.09659, allocations: 11.94 kB / 0.5489 GB, free: 15.97 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 (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 9.72e-05/0.09669, allocations: 99.22 kB / 0.549 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.316e-05/0.09678, allocations: 19.98 kB / 0.549 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.09678, allocations: 0 / 0.549 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.09681, allocations: 12 kB / 0.549 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.09696, allocations: 5.875 kB / 0.549 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.09733, allocations: 226.9 kB / 0.5492 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.09744, allocations: 96.91 kB / 0.5493 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.09747, allocations: 11.44 kB / 0.5493 GB, free: 15.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09747, allocations: 0 / 0.5493 GB, free: 15.44 MB / 382.1 MB Notification: Performance of Templates: time 0.002684/0.1002, allocations: 0.976 MB / 0.5503 GB, free: 14.46 MB / 382.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: 7.136717089917511] Failed to read output from testmodel.py, exit status != 0: 0.1072831591591239 0.12278224600000001 0.026795418 Calling exit ...