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.00236/0.00236, allocations: 93.47 kB / 19.44 MB, free: 336 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 1.606/1.606, allocations: 177.1 MB / 199.7 MB, free: 5.773 MB / 186.7 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.002125/0.002125, allocations: 171.5 kB / 256.3 MB, free: 13.14 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.06413/0.06413, allocations: 6.649 MB / 319.4 MB, free: 26.56 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 2.134e-06/2.134e-06, allocations: 0 / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.626e-05, allocations: 5.969 kB / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.002351/0.002387, allocations: 0.5127 MB / 391.4 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.004615, allocations: 1.128 MB / 392.5 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.004649, allocations: 0 / 392.5 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.004991, allocations: 23.91 kB / 392.6 MB, free: 1.301 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/0.005081, allocations: 31.84 kB / 392.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.13e-06/0.005087, allocations: 0 / 392.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.00517, allocations: 27.84 kB / 392.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.005211, allocations: 0 / 392.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.005438, allocations: 23.92 kB / 392.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.005584, allocations: 27.95 kB / 392.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.005608, allocations: 4 kB / 392.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.005623, allocations: 0 / 392.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.005841, allocations: 75.8 kB / 392.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.005874, allocations: 7.938 kB / 392.8 MB, free: 1.105 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.005989, allocations: 43.78 kB / 392.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005991, allocations: 0 / 392.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005992, allocations: 0 / 392.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005997, allocations: 0 / 392.8 MB, free: 1.062 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.0006919/0.006689, allocations: 451.6 kB / 393.2 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.006738, allocations: 12.02 kB / 393.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.00686, allocations: 136 kB / 393.4 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.007149, allocations: 260.5 kB / 393.6 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.007322, allocations: 246.7 kB / 393.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.007468, allocations: 242.7 kB / 394.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.007594, allocations: 145.5 kB / 394.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.579e-05/0.007669, allocations: 123.4 kB / 394.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.007811, allocations: 238.8 kB / 394.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/0.008107, allocations: 250.3 kB / 394.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.00825, allocations: 242.4 kB / 395.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.008835, allocations: 0.6149 MB / 395.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.009035, allocations: 261.4 kB / 396 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.009123, allocations: 130.9 kB / 396.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.009201, allocations: 123.2 kB / 396.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.009309, allocations: 156.5 kB / 396.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.00931, allocations: 0 / 396.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001172/0.009427, allocations: 45.55 kB / 396.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.009554, allocations: 174.5 kB / 396.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.009938, allocations: 274.8 kB / 396.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.009959, allocations: 29.7 kB / 396.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01012, allocations: 170.9 kB / 397 MB, free: 12.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.01012, allocations: 0 / 397 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.01015, allocations: 15.38 kB / 397.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003371/0.01049, allocations: 0.5079 MB / 397.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.0105, allocations: 0 / 397.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.0105, allocations: 4 kB / 397.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.934e-05/0.01057, allocations: 119.2 kB / 397.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.382e-05/0.01064, allocations: 119.2 kB / 397.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.602e-05/0.01074, allocations: 45.67 kB / 397.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.986e-05/0.01083, allocations: 123.2 kB / 398 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.079e-05/0.0109, allocations: 123.2 kB / 398.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.01106, allocations: 242.4 kB / 398.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.01113, allocations: 123.1 kB / 398.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/0.01128, allocations: 246.3 kB / 398.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.01145, allocations: 131.1 kB / 398.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.01152, allocations: 123.2 kB / 398.9 MB, free: 10.7 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 0.0002639/0.01178, allocations: 391 kB / 399.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.01191, allocations: 160.8 kB / 399.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.01204, allocations: 165.3 kB / 399.6 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001685/0.01221, allocations: 272.1 kB / 399.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001651/0.01237, allocations: 276 kB / 400.2 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001667/0.01254, allocations: 268.1 kB / 400.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.01303, allocations: 0.5389 MB / 401 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/0.01314, allocations: 144.9 kB / 401.1 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.772e-05/0.01322, allocations: 144.9 kB / 401.3 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.01339, allocations: 272 kB / 401.5 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.01355, allocations: 264.1 kB / 401.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001657/0.01372, allocations: 272 kB / 402 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003059/0.01402, allocations: 272.1 kB / 402.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.01435, allocations: 459.8 kB / 402.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.01448, allocations: 169 kB / 402.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.01465, allocations: 272 kB / 403.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.01482, allocations: 152.9 kB / 403.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.01499, allocations: 272.1 kB / 403.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.01509, allocations: 156.8 kB / 403.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.0153, allocations: 180.1 kB / 403.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0153, allocations: 0 / 403.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.0157, allocations: 7.984 kB / 403.9 MB, free: 5.492 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 0.0002087/0.01591, allocations: 210.4 kB / 404.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.624e-05/0.01596, allocations: 0 / 404.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01596, allocations: 4 kB / 404.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.01597, allocations: 0 / 404.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.01673, allocations: 0.71 MB / 404.9 MB, free: 4.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.01728, allocations: 321.8 kB / 405.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.01742, allocations: 96.73 kB / 405.3 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.836e-05/0.01744, allocations: 0 / 405.3 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.01747, allocations: 8.5 kB / 405.3 MB, free: 4.094 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01747, allocations: 0 / 405.3 MB, free: 4.094 MB / 330.7 MB Notification: Performance of Templates: time 0.003569/0.02104, allocations: 265.2 kB / 405.5 MB, free: 3.84 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: 4.87828654597979]