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.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.001459/0.001459, allocations: 114.2 kB / 17.08 MB, free: 6.012 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.296/1.296, 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.001463/0.001463, allocations: 192.1 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.04002/0.04002, allocations: 8.792 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.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 0.002235/0.002235, allocations: 83.88 kB / 473.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2542, allocations: 51.56 MB / 0.5125 GB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001665/0.2559, allocations: 0.4986 MB / 0.513 GB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.2574, allocations: 1.101 MB / 0.5141 GB, free: 11.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.2575, allocations: 1.375 kB / 0.5141 GB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.2578, allocations: 18.05 kB / 0.5141 GB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.2578, allocations: 27.69 kB / 0.5142 GB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.497e-06/0.2579, allocations: 0 / 0.5142 GB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.928e-05/0.2579, allocations: 20.53 kB / 0.5142 GB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.258, allocations: 1.5 kB / 0.5142 GB, free: 11.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.2581, allocations: 23.92 kB / 0.5142 GB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2582, allocations: 27.06 kB / 0.5142 GB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2582, allocations: 1 kB / 0.5142 GB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.2582, allocations: 1.125 kB / 0.5142 GB, free: 11.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2584, allocations: 69.69 kB / 0.5143 GB, free: 11.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.2584, allocations: 28.03 kB / 0.5143 GB, free: 11.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.397e-05/0.2585, allocations: 49.27 kB / 0.5144 GB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2585, allocations: 1.125 kB / 0.5144 GB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2585, allocations: 0 / 0.5144 GB, free: 11.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2585, allocations: 0 / 0.5144 GB, free: 11.2 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.0004522/0.259, allocations: 412.1 kB / 0.5148 GB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.259, allocations: 9 kB / 0.5148 GB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.2591, allocations: 93.91 kB / 0.5149 GB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.2593, allocations: 297.5 kB / 0.5151 GB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.2594, allocations: 150.9 kB / 0.5153 GB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.2594, allocations: 150.9 kB / 0.5154 GB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.679e-05/0.2595, allocations: 110.5 kB / 0.5155 GB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.2595, allocations: 75.28 kB / 0.5156 GB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.2596, allocations: 151.5 kB / 0.5158 GB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.826e-05/0.2597, allocations: 154.6 kB / 0.5159 GB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/0.2597, allocations: 159.7 kB / 0.5161 GB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.26, allocations: 477.2 kB / 0.5165 GB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.2601, allocations: 166.3 kB / 0.5167 GB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.2602, allocations: 93.22 kB / 0.5168 GB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.2602, allocations: 83.27 kB / 0.5168 GB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.2603, allocations: 110.9 kB / 0.5169 GB, free: 8.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2603, allocations: 3.938 kB / 0.5169 GB, free: 8.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.676e-05/0.2604, allocations: 39.09 kB / 0.517 GB, free: 8.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.2605, allocations: 127.9 kB / 0.5171 GB, free: 8.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.2607, allocations: 236.8 kB / 0.5173 GB, free: 8.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2607, allocations: 25.7 kB / 0.5174 GB, free: 8.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.2608, allocations: 120.1 kB / 0.5175 GB, free: 7.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.2608, allocations: 0 / 0.5175 GB, free: 7.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.2608, allocations: 9.719 kB / 0.5175 GB, free: 7.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.261, allocations: 326.8 kB / 0.5178 GB, free: 7.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.261, allocations: 0 / 0.5178 GB, free: 7.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-06/0.261, allocations: 0 / 0.5178 GB, free: 7.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.261, allocations: 79.28 kB / 0.5179 GB, free: 7.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/0.261, allocations: 75.28 kB / 0.5179 GB, free: 7.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.401e-05/0.2611, allocations: 49.53 kB / 0.518 GB, free: 7.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.2612, allocations: 83.22 kB / 0.5181 GB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.2612, allocations: 75.28 kB / 0.5181 GB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.95e-05/0.2613, allocations: 162.5 kB / 0.5183 GB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-05/0.2613, allocations: 76.28 kB / 0.5184 GB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.724e-05/0.2614, allocations: 154.6 kB / 0.5185 GB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.2615, allocations: 79.22 kB / 0.5186 GB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.2615, allocations: 79.28 kB / 0.5187 GB, free: 6.719 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 0.0001511/0.2616, allocations: 288.3 kB / 0.5189 GB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.2617, allocations: 124.8 kB / 0.5191 GB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.2618, allocations: 125.5 kB / 0.5192 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.871e-05/0.2619, allocations: 180.3 kB / 0.5193 GB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-05/0.2619, allocations: 180.2 kB / 0.5195 GB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.452e-05/0.262, allocations: 176.5 kB / 0.5197 GB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.2623, allocations: 449.1 kB / 0.5201 GB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/0.2623, allocations: 101 kB / 0.5202 GB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.2624, allocations: 109 kB / 0.5203 GB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.271e-05/0.2625, allocations: 188.1 kB / 0.5205 GB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.2625, allocations: 180.3 kB / 0.5207 GB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.797e-05/0.2626, allocations: 184.2 kB / 0.5208 GB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.809e-05/0.2627, allocations: 184.2 kB / 0.521 GB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.2628, allocations: 315.7 kB / 0.5213 GB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.2629, allocations: 193.9 kB / 0.5215 GB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.263, allocations: 192.2 kB / 0.5217 GB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.2631, allocations: 101 kB / 0.5218 GB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.2632, allocations: 184.2 kB / 0.522 GB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.2633, allocations: 113 kB / 0.5221 GB, free: 3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.2634, allocations: 164.2 kB / 0.5222 GB, free: 2.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2634, allocations: 4 kB / 0.5222 GB, free: 2.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.2636, allocations: 3.938 kB / 0.5222 GB, free: 2.832 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 0.0001132/0.2638, allocations: 176.8 kB / 0.5224 GB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.658e-05/0.2638, allocations: 4 kB / 0.5224 GB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2638, allocations: 0 / 0.5224 GB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.2638, allocations: 7.938 kB / 0.5224 GB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.2642, allocations: 459.7 kB / 0.5228 GB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.2646, allocations: 318.7 kB / 0.5232 GB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.2649, allocations: 0.7158 MB / 0.5239 GB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.2649, allocations: 7.438 kB / 0.5239 GB, free: 1.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2649, allocations: 0 / 0.5239 GB, free: 1.09 MB / 334.1 MB Notification: Performance of Templates: time 0.002071/0.267, allocations: 0.7305 MB / 0.5246 GB, free: 364 kB / 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: 6.775137576973066] Failed to read output from testmodel.py, exit status != 0: 0.2731131410691887 0.285616692 0.024764515 Calling exit ...