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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 113.9 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 242.7 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001392, allocations: 187.5 kB / 295 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03877/0.03877, allocations: 8.799 MB / 356 MB, free: 15.91 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002316/0.002316, allocations: 87.88 kB / 473.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2344, allocations: 51.55 MB / 0.5125 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001752/0.2362, allocations: 0.5359 MB / 0.5131 GB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2378, allocations: 1.121 MB / 0.5142 GB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.2378, allocations: 0.9688 kB / 0.5142 GB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.238, allocations: 10.2 kB / 0.5142 GB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.2382, allocations: 29.28 kB / 0.5142 GB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.097e-05/0.2382, allocations: 3.188 kB / 0.5142 GB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.879e-05/0.2383, allocations: 36.03 kB / 0.5142 GB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.2384, allocations: 2.469 kB / 0.5142 GB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.2385, allocations: 30.25 kB / 0.5143 GB, free: 11.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.2387, allocations: 36.08 kB / 0.5143 GB, free: 11.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2387, allocations: 1.406 kB / 0.5143 GB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.2387, allocations: 2.719 kB / 0.5143 GB, free: 11.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2388, allocations: 43.53 kB / 0.5143 GB, free: 11.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.2389, allocations: 33.25 kB / 0.5144 GB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.239, allocations: 52.44 kB / 0.5144 GB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.239, allocations: 0 / 0.5144 GB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.239, allocations: 5 kB / 0.5144 GB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.239, allocations: 0 / 0.5144 GB, free: 10.96 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.0006406/0.2397, allocations: 411 kB / 0.5148 GB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2397, allocations: 12.59 kB / 0.5148 GB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.2398, allocations: 10.2 kB / 0.5148 GB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.24, allocations: 217.8 kB / 0.5151 GB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2401, allocations: 1.594 kB / 0.5151 GB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.2401, allocations: 1.438 kB / 0.5151 GB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.2402, allocations: 43.47 kB / 0.5151 GB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2402, allocations: 0 / 0.5151 GB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2402, allocations: 1.25 kB / 0.5151 GB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2402, allocations: 0 / 0.5151 GB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.2403, allocations: 14.55 kB / 0.5151 GB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.2405, allocations: 195.7 kB / 0.5153 GB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.2406, allocations: 27.83 kB / 0.5153 GB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.2406, allocations: 18 kB / 0.5153 GB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2406, allocations: 3.984 kB / 0.5153 GB, free: 10 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.2407, allocations: 36.03 kB / 0.5154 GB, free: 9.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2407, allocations: 0 / 0.5154 GB, free: 9.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.2409, allocations: 74.31 kB / 0.5155 GB, free: 9.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2409, allocations: 51.41 kB / 0.5155 GB, free: 9.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.2412, allocations: 216.6 kB / 0.5157 GB, free: 9.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2412, allocations: 25.7 kB / 0.5157 GB, free: 9.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.2413, allocations: 104.1 kB / 0.5158 GB, free: 9.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.2413, allocations: 11.88 kB / 0.5158 GB, free: 9.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.2413, allocations: 21.72 kB / 0.5159 GB, free: 9.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2415, allocations: 322.8 kB / 0.5162 GB, free: 9.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.2415, allocations: 12 kB / 0.5162 GB, free: 9.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.2415, allocations: 12.11 kB / 0.5162 GB, free: 9.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.2416, allocations: 20.94 kB / 0.5162 GB, free: 9.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2416, allocations: 0 / 0.5162 GB, free: 9.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001023/0.2417, allocations: 69.52 kB / 0.5163 GB, free: 9.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2417, allocations: 7.938 kB / 0.5163 GB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2417, allocations: 0 / 0.5163 GB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2418, allocations: 0 / 0.5163 GB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.2418, allocations: 4 kB / 0.5163 GB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2419, allocations: 4 kB / 0.5163 GB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.2419, allocations: 7.984 kB / 0.5163 GB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2419, allocations: 0 / 0.5163 GB, free: 9.027 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 9.778e-05/0.242, allocations: 138.7 kB / 0.5164 GB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.2421, allocations: 11.89 kB / 0.5164 GB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.2422, allocations: 66.55 kB / 0.5165 GB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2422, allocations: 0 / 0.5165 GB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2422, allocations: 0 / 0.5165 GB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2422, allocations: 4 kB / 0.5165 GB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.2424, allocations: 185.6 kB / 0.5167 GB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2424, allocations: 0 / 0.5167 GB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.2424, allocations: 4 kB / 0.5167 GB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2425, allocations: 7.922 kB / 0.5167 GB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2425, allocations: 4 kB / 0.5167 GB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2425, allocations: 0 / 0.5167 GB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2425, allocations: 0 / 0.5167 GB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.2426, allocations: 81.03 kB / 0.5168 GB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.2427, allocations: 92.98 kB / 0.5169 GB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.2427, allocations: 12 kB / 0.5169 GB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.2428, allocations: 0 / 0.5169 GB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.2428, allocations: 4 kB / 0.5169 GB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2428, allocations: 7.922 kB / 0.5169 GB, free: 8.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.2429, allocations: 163.2 kB / 0.5171 GB, free: 8.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2429, allocations: 0 / 0.5171 GB, free: 8.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001781/0.2431, allocations: 4 kB / 0.5171 GB, free: 8.148 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 9.762e-05/0.2432, allocations: 99.25 kB / 0.5172 GB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.2433, allocations: 19.98 kB / 0.5172 GB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2433, allocations: 0 / 0.5172 GB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.2434, allocations: 20.16 kB / 0.5172 GB, free: 8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.2435, allocations: 6.344 kB / 0.5172 GB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.2439, allocations: 222.9 kB / 0.5174 GB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.2442, allocations: 0.7118 MB / 0.5181 GB, free: 7.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.2443, allocations: 15.44 kB / 0.5181 GB, free: 6.992 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2443, allocations: 0 / 0.5181 GB, free: 6.992 MB / 334.1 MB Notification: Performance of Templates: time 0.00242/0.2467, allocations: 0.9261 MB / 0.519 GB, free: 6.062 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: 6.441443477990106] Failed to read output from testmodel.py, exit status != 0: 0.25329828588292 0.26663604299999993 0.025136783000000003 Calling exit ...