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.001184/0.001184, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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 0.9888/0.9888, allocations: 177.2 MB / 200 MB, free: 5.539 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.001181/0.001181, allocations: 160.6 kB / 256.6 MB, free: 12.98 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.03332/0.03332, allocations: 6.666 MB / 319.8 MB, free: 26.52 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.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.743e-06/1.743e-06, allocations: 0 / 391.6 MB, free: 2.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.896e-05, allocations: 2.312 kB / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001837/0.001866, allocations: 0.5128 MB / 392.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.003374, allocations: 1.151 MB / 393.3 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.003403, allocations: 0 / 393.3 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.003674, allocations: 19.91 kB / 393.3 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.003723, allocations: 27.91 kB / 393.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.745e-06/0.003726, allocations: 0 / 393.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.003784, allocations: 23.92 kB / 393.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.003824, allocations: 0 / 393.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.004004, allocations: 31.84 kB / 393.4 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.004118, allocations: 27.91 kB / 393.4 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.004132, allocations: 0 / 393.4 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.004142, allocations: 0 / 393.4 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.004252, allocations: 79.84 kB / 393.5 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.004277, allocations: 11.92 kB / 393.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.986e-05/0.004357, allocations: 47.72 kB / 393.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.004359, allocations: 0 / 393.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00436, allocations: 0 / 393.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004365, allocations: 0 / 393.6 MB, free: 0.6523 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003605/0.004726, allocations: 452 kB / 394 MB, free: 180 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.004762, allocations: 8.031 kB / 394 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.004814, allocations: 132 kB / 394.1 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.00496, allocations: 268.5 kB / 394.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.005009, allocations: 238.8 kB / 394.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.005063, allocations: 242.7 kB / 394.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.446e-05/0.005118, allocations: 153.4 kB / 395 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.005143, allocations: 119.4 kB / 395.1 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.005194, allocations: 238.8 kB / 395.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/0.005244, allocations: 242.3 kB / 395.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.005291, allocations: 246.4 kB / 395.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.005523, allocations: 0.611 MB / 396.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.005601, allocations: 269.4 kB / 396.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.005634, allocations: 130.9 kB / 396.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.00566, allocations: 123.2 kB / 397 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.005702, allocations: 152.6 kB / 397.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.005703, allocations: 0 / 397.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.271e-05/0.005765, allocations: 37.61 kB / 397.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.005821, allocations: 182.5 kB / 397.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.006004, allocations: 270.8 kB / 397.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.006011, allocations: 29.7 kB / 397.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.006091, allocations: 170.9 kB / 397.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.006092, allocations: 0 / 397.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.006113, allocations: 23.38 kB / 397.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.006254, allocations: 0.5001 MB / 398.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.00626, allocations: 0 / 398.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.006263, allocations: 0 / 398.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.00629, allocations: 119.2 kB / 398.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-05/0.006316, allocations: 123.2 kB / 398.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.088e-05/0.006356, allocations: 41.69 kB / 398.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.00639, allocations: 127.2 kB / 398.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.006417, allocations: 135.1 kB / 398.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.006528, allocations: 242.3 kB / 399.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.37e-05/0.006552, allocations: 127.1 kB / 399.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-05/0.006598, allocations: 242.3 kB / 399.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.006656, allocations: 119.2 kB / 399.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.006679, allocations: 127.1 kB / 399.7 MB, free: 10.3 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 (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 9.808e-05/0.006777, allocations: 398.9 kB / 400.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.006821, allocations: 156.8 kB / 400.2 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.006865, allocations: 157.3 kB / 400.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/0.006916, allocations: 276.1 kB / 400.7 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.766e-05/0.006973, allocations: 276 kB / 400.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001796/0.007153, allocations: 268 kB / 401.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.007324, allocations: 0.5311 MB / 401.7 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/0.007354, allocations: 152.8 kB / 401.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.007384, allocations: 148.9 kB / 402 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-05/0.007437, allocations: 268.1 kB / 402.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.00749, allocations: 276 kB / 402.5 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.862e-05/0.007538, allocations: 264.1 kB / 402.8 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.955e-05/0.007588, allocations: 268 kB / 403.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.007707, allocations: 463.8 kB / 403.5 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.007751, allocations: 161.1 kB / 403.7 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.007812, allocations: 272.1 kB / 403.9 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.007873, allocations: 156.8 kB / 404.1 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.007932, allocations: 264.1 kB / 404.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.007962, allocations: 156.8 kB / 404.5 MB, free: 5.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003444/0.008306, allocations: 180.1 kB / 404.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008306, allocations: 0 / 404.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.008454, allocations: 4 kB / 404.7 MB, free: 5.098 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 (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 8.625e-05/0.008541, allocations: 214.4 kB / 404.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.694e-05/0.008577, allocations: 0 / 404.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008579, allocations: 4 kB / 404.9 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.00858, allocations: 0 / 404.9 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.008859, allocations: 0.7139 MB / 405.6 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.009116, allocations: 325.7 kB / 405.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.009153, allocations: 79.25 kB / 406 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.451e-05/0.009167, allocations: 0 / 406 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.009188, allocations: 8.5 kB / 406 MB, free: 3.703 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009188, allocations: 3.938 kB / 406 MB, free: 3.699 MB / 330.7 MB Notification: Performance of Templates: time 0.00169/0.01088, allocations: 273.3 kB / 406.3 MB, free: 3.438 MB / 330.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9592286408878863]