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.001235/0.001235, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.327/1.327, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.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.001533/0.001533, allocations: 171.9 kB / 256 MB, free: 4.316 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.03908/0.03908, allocations: 6.66 MB / 319 MB, free: 5.383 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: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 445.9 MB, free: 25.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.224e-05, allocations: 2.281 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001118/0.00114, allocations: 0.504 MB / 446.4 MB, free: 24.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.00218, allocations: 1.122 MB / 447.5 MB, free: 23.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.00221, allocations: 4 kB / 447.5 MB, free: 23.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.00245, allocations: 23.91 kB / 447.5 MB, free: 23.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.002505, allocations: 31.83 kB / 447.6 MB, free: 23.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.002509, allocations: 0 / 447.6 MB, free: 23.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.21e-05/0.002561, allocations: 19.92 kB / 447.6 MB, free: 23.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.002596, allocations: 0 / 447.6 MB, free: 23.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.002755, allocations: 31.84 kB / 447.6 MB, free: 23.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.002848, allocations: 23.97 kB / 447.6 MB, free: 23.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.002864, allocations: 4 kB / 447.6 MB, free: 23.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.002875, allocations: 4 kB / 447.6 MB, free: 23.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.003002, allocations: 71.8 kB / 447.7 MB, free: 23.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.003023, allocations: 7.938 kB / 447.7 MB, free: 23.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.313e-05/0.003076, allocations: 47.78 kB / 447.8 MB, free: 23.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003078, allocations: 0 / 447.8 MB, free: 23.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003078, allocations: 4 kB / 447.8 MB, free: 23.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.003081, allocations: 0 / 447.8 MB, free: 23.31 MB / 334.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.0003178/0.003399, allocations: 333.7 kB / 448.1 MB, free: 22.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.003431, allocations: 15.98 kB / 448.1 MB, free: 22.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.003468, allocations: 84.17 kB / 448.2 MB, free: 22.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.003593, allocations: 225.7 kB / 448.4 MB, free: 22.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.003618, allocations: 158.9 kB / 448.6 MB, free: 22.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.003635, allocations: 158.9 kB / 448.7 MB, free: 22.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.93e-05/0.003674, allocations: 101.5 kB / 448.8 MB, free: 22.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.003688, allocations: 79.47 kB / 448.9 MB, free: 22.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.00371, allocations: 154.9 kB / 449.1 MB, free: 21.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.003729, allocations: 154.5 kB / 449.2 MB, free: 21.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.003748, allocations: 150.6 kB / 449.4 MB, free: 21.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.003914, allocations: 429.6 kB / 449.8 MB, free: 21.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/0.003956, allocations: 177.1 kB / 449.9 MB, free: 21.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.003971, allocations: 80.14 kB / 450 MB, free: 20.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.003986, allocations: 75.28 kB / 450.1 MB, free: 20.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.004007, allocations: 117.8 kB / 450.2 MB, free: 20.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.004008, allocations: 0 / 450.2 MB, free: 20.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.229e-05/0.00407, allocations: 41.59 kB / 450.3 MB, free: 20.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.004103, allocations: 138.6 kB / 450.4 MB, free: 20.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.004284, allocations: 227.9 kB / 450.6 MB, free: 20.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.00429, allocations: 29.64 kB / 450.6 MB, free: 20.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.00433, allocations: 116.2 kB / 450.8 MB, free: 20.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.183e-06/0.004331, allocations: 0 / 450.8 MB, free: 20.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.004347, allocations: 17.72 kB / 450.8 MB, free: 20.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.004392, allocations: 326.8 kB / 451.1 MB, free: 19.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-06/0.004396, allocations: 0 / 451.1 MB, free: 19.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-06/0.004398, allocations: 0 / 451.1 MB, free: 19.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.179e-05/0.00441, allocations: 75.28 kB / 451.2 MB, free: 19.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.004418, allocations: 79.28 kB / 451.2 MB, free: 19.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.763e-05/0.004466, allocations: 37.66 kB / 451.3 MB, free: 19.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.004484, allocations: 85.31 kB / 451.4 MB, free: 19.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.004496, allocations: 83.2 kB / 451.4 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.004524, allocations: 150.7 kB / 451.6 MB, free: 19.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.11e-05/0.004535, allocations: 87.23 kB / 451.7 MB, free: 19.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.004554, allocations: 158.5 kB / 451.8 MB, free: 19.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.004618, allocations: 75.28 kB / 451.9 MB, free: 18.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.004629, allocations: 83.22 kB / 452 MB, free: 18.91 MB / 334.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 6.57e-05/0.004694, allocations: 285.7 kB / 452.3 MB, free: 18.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.004732, allocations: 116.9 kB / 452.4 MB, free: 18.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.004762, allocations: 133.2 kB / 452.5 MB, free: 18.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.004783, allocations: 176.3 kB / 452.7 MB, free: 18.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/0.004805, allocations: 184.2 kB / 452.9 MB, free: 17.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.004826, allocations: 184.2 kB / 453 MB, free: 17.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.004945, allocations: 384.8 kB / 453.4 MB, free: 17.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.004961, allocations: 108.9 kB / 453.5 MB, free: 17.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.004975, allocations: 109 kB / 453.6 MB, free: 17.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.373e-05/0.004999, allocations: 176.3 kB / 453.8 MB, free: 16.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.005023, allocations: 184.2 kB / 454 MB, free: 16.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.158e-05/0.005045, allocations: 180.3 kB / 454.2 MB, free: 16.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-05/0.005067, allocations: 188.2 kB / 454.3 MB, free: 16.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.038e-05/0.005128, allocations: 323.6 kB / 454.7 MB, free: 16.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.005156, allocations: 116.8 kB / 454.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.005189, allocations: 184.2 kB / 454.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.005253, allocations: 104.9 kB / 455 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.005279, allocations: 176.3 kB / 455.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.005293, allocations: 112.9 kB / 455.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.556e-05/0.005388, allocations: 180.1 kB / 455.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.005389, allocations: 0 / 455.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.00563, allocations: 4 kB / 455.5 MB, free: 15.19 MB / 334.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 5.632e-05/0.005687, allocations: 170.5 kB / 455.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.722e-05/0.005724, allocations: 0 / 455.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.005725, allocations: 0 / 455.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.005726, allocations: 3.938 kB / 455.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.005984, allocations: 459.7 kB / 456.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.006233, allocations: 300.8 kB / 456.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.006288, allocations: 104.7 kB / 456.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.191e-05/0.0063, allocations: 0 / 456.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.006316, allocations: 12.5 kB / 456.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.006316, allocations: 0 / 456.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of Templates: time 0.002324/0.008641, allocations: 247 kB / 456.8 MB, free: 13.86 MB / 334.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.087383359670639] Failed to read output from testmodel.py, exit status != 0: 0.014612492173910141 0.024673800000000003 0.019365794000000002 Calling exit ...