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.001047/0.001047, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.057/1.057, allocations: 177.2 MB / 200.5 MB, free: 5.828 MB / 186.7 MB " [Timeout remaining time 179] 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.001434/0.001434, allocations: 168.5 kB / 257 MB, free: 13.2 MB / 250.7 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.02311/0.02311, allocations: 6.657 MB / 320.1 MB, free: 26.59 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 391.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.181e-05, allocations: 2.312 kB / 391.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001643/0.001675, allocations: 0.5399 MB / 392.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.003336, allocations: 1.178 MB / 393.4 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.003381, allocations: 0 / 393.4 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.003571, allocations: 7.922 kB / 393.4 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.003684, allocations: 23.86 kB / 393.4 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.153e-05/0.003756, allocations: 11.92 kB / 393.4 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.003841, allocations: 35.84 kB / 393.4 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.003885, allocations: 3.984 kB / 393.4 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.004071, allocations: 39.84 kB / 393.5 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.004206, allocations: 39.89 kB / 393.5 MB, free: 1.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.004226, allocations: 0 / 393.5 MB, free: 1.074 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.004237, allocations: 4 kB / 393.5 MB, free: 1.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.181e-05/0.004329, allocations: 35.89 kB / 393.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.004368, allocations: 15.94 kB / 393.6 MB, free: 1.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.00447, allocations: 43.81 kB / 393.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004473, allocations: 4 kB / 393.6 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.004474, allocations: 3.938 kB / 393.6 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.004478, allocations: 0 / 393.6 MB, free: 0.9688 MB / 314.7 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.0005107/0.004989, allocations: 440.1 kB / 394.1 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.005032, allocations: 8.031 kB / 394.1 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.005078, allocations: 12.84 kB / 394.1 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.005266, allocations: 152.4 kB / 394.2 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.00528, allocations: 384 / 394.2 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.005295, allocations: 4.375 kB / 394.2 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.005381, allocations: 38.25 kB / 394.3 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.00539, allocations: 192 / 394.3 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.0054, allocations: 384 / 394.3 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.005412, allocations: 11.92 kB / 394.3 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.005436, allocations: 4 kB / 394.3 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.005628, allocations: 144.6 kB / 394.4 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.005701, allocations: 42.98 kB / 394.5 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.005725, allocations: 7.688 kB / 394.5 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.005747, allocations: 4 kB / 394.5 MB, free: 0 / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.005787, allocations: 33.39 kB / 394.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005788, allocations: 0 / 394.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.005968, allocations: 57.67 kB / 394.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.006006, allocations: 55.34 kB / 394.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.006216, allocations: 245.9 kB / 394.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.006228, allocations: 25.7 kB / 394.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.006302, allocations: 154.9 kB / 395 MB, free: 15.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.006331, allocations: 15.84 kB / 395.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.00637, allocations: 23.38 kB / 395.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.00653, allocations: 0.4923 MB / 395.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.006549, allocations: 3.984 kB / 395.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.006562, allocations: 4 kB / 395.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.006603, allocations: 19.69 kB / 395.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006606, allocations: 0 / 395.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.669e-05/0.006702, allocations: 53.58 kB / 395.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.006719, allocations: 12 kB / 395.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006723, allocations: 0 / 395.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006738, allocations: 0 / 395.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.006817, allocations: 4 kB / 395.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.006824, allocations: 7.922 kB / 395.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.006863, allocations: 4 kB / 395.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.006869, allocations: 0 / 395.7 MB, free: 14.71 MB / 330.7 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 8.114e-05/0.00695, allocations: 156.6 kB / 395.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.006969, allocations: 15.91 kB / 395.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.007107, allocations: 58.97 kB / 395.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007108, allocations: 4 kB / 395.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.007114, allocations: 3.938 kB / 395.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007117, allocations: 48 / 395.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.007233, allocations: 148.6 kB / 396.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007235, allocations: 0 / 396.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.007273, allocations: 8 kB / 396.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007276, allocations: 0 / 396.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.007285, allocations: 3.984 kB / 396.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.007288, allocations: 7.938 kB / 396.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.007291, allocations: 3.984 kB / 396.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.007403, allocations: 88.33 kB / 396.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.007432, allocations: 19.91 kB / 396.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.007449, allocations: 0 / 396.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.007484, allocations: 3.984 kB / 396.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.007503, allocations: 7.938 kB / 396.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.007509, allocations: 3.938 kB / 396.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.007627, allocations: 180.2 kB / 396.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007627, allocations: 0 / 396.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.007832, allocations: 8 kB / 396.4 MB, free: 13.93 MB / 330.7 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.909e-05/0.007931, allocations: 91.25 kB / 396.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.008028, allocations: 27.67 kB / 396.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.00803, allocations: 0 / 396.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.008047, allocations: 15.69 kB / 396.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.008227, allocations: 4 kB / 396.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.008562, allocations: 194.1 kB / 396.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.008616, allocations: 75.27 kB / 396.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.677e-05/0.008663, allocations: 19.72 kB / 396.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.008696, allocations: 8.5 kB / 396.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008696, allocations: 0 / 396.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Templates: time 0.002944/0.01164, allocations: 0.6089 MB / 397.4 MB, free: 12.82 MB / 330.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0054134170059115]