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.00127/0.00127, allocations: 79.78 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.317/1.317, allocations: 177.2 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.001594/0.001594, allocations: 160 kB / 256 MB, free: 4.32 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.03781/0.03781, allocations: 6.654 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.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 1.243e-06/1.243e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.088e-05, allocations: 9.172 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001162/0.001182, allocations: 0.5245 MB / 446.4 MB, free: 24.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.002248, allocations: 1.149 MB / 447.6 MB, free: 23.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.002286, allocations: 0 / 447.6 MB, free: 23.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.00245, allocations: 7.984 kB / 447.6 MB, free: 23.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.526e-05/0.002535, allocations: 15.86 kB / 447.6 MB, free: 23.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.373e-05/0.002599, allocations: 19.91 kB / 447.6 MB, free: 23.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.332e-05/0.002662, allocations: 39.84 kB / 447.6 MB, free: 23.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.002702, allocations: 4 kB / 447.6 MB, free: 23.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.002844, allocations: 35.83 kB / 447.7 MB, free: 23.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.751e-05/0.002942, allocations: 35.89 kB / 447.7 MB, free: 23.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.002962, allocations: 4 kB / 447.7 MB, free: 23.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.002975, allocations: 4 kB / 447.7 MB, free: 23.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.003045, allocations: 35.91 kB / 447.8 MB, free: 23.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.003073, allocations: 15.92 kB / 447.8 MB, free: 23.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.859e-05/0.003132, allocations: 43.83 kB / 447.8 MB, free: 23.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003133, allocations: 4 kB / 447.8 MB, free: 23.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003134, allocations: 3.938 kB / 447.8 MB, free: 23.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.003137, allocations: 0 / 447.8 MB, free: 23.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004041/0.003541, allocations: 333.8 kB / 448.1 MB, free: 22.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.003569, allocations: 11.98 kB / 448.2 MB, free: 22.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.003598, allocations: 16.84 kB / 448.2 MB, free: 22.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.003723, allocations: 157.6 kB / 448.3 MB, free: 22.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.003735, allocations: 4.375 kB / 448.3 MB, free: 22.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.003746, allocations: 8.312 kB / 448.3 MB, free: 22.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.26e-05/0.003819, allocations: 38.23 kB / 448.4 MB, free: 22.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.003827, allocations: 192 / 448.4 MB, free: 22.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.003834, allocations: 384 / 448.4 MB, free: 22.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.003839, allocations: 7.938 kB / 448.4 MB, free: 22.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.003866, allocations: 11.98 kB / 448.4 MB, free: 22.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.003981, allocations: 141.3 kB / 448.5 MB, free: 22.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.706e-05/0.004038, allocations: 30.61 kB / 448.6 MB, free: 22.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.004056, allocations: 12.84 kB / 448.6 MB, free: 22.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.004075, allocations: 0 / 448.6 MB, free: 22.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.004089, allocations: 34.56 kB / 448.6 MB, free: 22.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.004089, allocations: 4 kB / 448.6 MB, free: 22.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000131/0.00422, allocations: 73.52 kB / 448.7 MB, free: 22.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.004236, allocations: 55.34 kB / 448.7 MB, free: 22.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.004376, allocations: 214.9 kB / 449 MB, free: 21.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.004383, allocations: 29.64 kB / 449 MB, free: 21.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.004411, allocations: 108.1 kB / 449.1 MB, free: 21.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.004431, allocations: 7.891 kB / 449.1 MB, free: 21.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.004454, allocations: 17.72 kB / 449.1 MB, free: 21.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.004491, allocations: 322.8 kB / 449.4 MB, free: 21.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.004507, allocations: 4 kB / 449.4 MB, free: 21.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.004519, allocations: 15.98 kB / 449.4 MB, free: 21.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.004554, allocations: 24.84 kB / 449.5 MB, free: 21.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004555, allocations: 0 / 449.5 MB, free: 21.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.471e-05/0.00462, allocations: 61.53 kB / 449.5 MB, free: 21.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.004629, allocations: 4 kB / 449.5 MB, free: 21.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.004632, allocations: 0 / 449.5 MB, free: 21.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.004644, allocations: 0 / 449.5 MB, free: 21.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.004706, allocations: 8 kB / 449.5 MB, free: 21.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.004711, allocations: 3.938 kB / 449.5 MB, free: 21.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.004755, allocations: 3.984 kB / 449.6 MB, free: 21.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.004761, allocations: 4 kB / 449.6 MB, free: 21.35 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 (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 4.571e-05/0.004806, allocations: 125.8 kB / 449.7 MB, free: 21.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.004819, allocations: 7.953 kB / 449.7 MB, free: 21.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.00492, allocations: 74.97 kB / 449.8 MB, free: 21.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.004921, allocations: 0 / 449.8 MB, free: 21.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.004925, allocations: 7.875 kB / 449.8 MB, free: 21.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.004927, allocations: 3.938 kB / 449.8 MB, free: 21.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.812e-05/0.004985, allocations: 125.3 kB / 449.9 MB, free: 20.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004985, allocations: 0 / 449.9 MB, free: 20.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.005022, allocations: 7.984 kB / 449.9 MB, free: 20.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005023, allocations: 0 / 449.9 MB, free: 20.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.00503, allocations: 12 kB / 449.9 MB, free: 20.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.005031, allocations: 4 kB / 449.9 MB, free: 20.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005032, allocations: 0 / 449.9 MB, free: 20.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.882e-05/0.005101, allocations: 81.02 kB / 450 MB, free: 20.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.005124, allocations: 15.89 kB / 450 MB, free: 20.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.005138, allocations: 0 / 450 MB, free: 20.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.005184, allocations: 4 kB / 450 MB, free: 20.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.005198, allocations: 3.984 kB / 450 MB, free: 20.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.005202, allocations: 7.938 kB / 450 MB, free: 20.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.804e-05/0.00529, allocations: 159.2 kB / 450.2 MB, free: 20.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.00529, allocations: 0 / 450.2 MB, free: 20.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001753/0.005465, allocations: 15.94 kB / 450.2 MB, free: 20.64 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 (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 5.357e-05/0.005519, allocations: 97.11 kB / 450.3 MB, free: 20.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.005586, allocations: 19.98 kB / 450.3 MB, free: 20.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.005587, allocations: 0 / 450.3 MB, free: 20.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.005602, allocations: 15.92 kB / 450.3 MB, free: 20.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.005743, allocations: 4 kB / 450.3 MB, free: 20.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.005965, allocations: 205.1 kB / 450.5 MB, free: 20.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.478e-05/0.00601, allocations: 101 kB / 450.6 MB, free: 20.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.006045, allocations: 15.98 kB / 450.6 MB, free: 20.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.006072, allocations: 12.5 kB / 450.7 MB, free: 20.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.006073, allocations: 0 / 450.7 MB, free: 20.11 MB / 334.1 MB Notification: Performance of Templates: time 0.002509/0.008582, allocations: 0.6016 MB / 451.3 MB, free: 19.52 MB / 334.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: 4.067307613790035] Failed to read output from testmodel.py, exit status != 0: 0.014188695698976517 0.02329638599999994 0.01819784299999994 Calling exit ...