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.001207/0.001207, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.8727/0.8727, allocations: 177.2 MB / 200.2 MB, free: 5.938 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.000981/0.000981, allocations: 164.6 kB / 256.7 MB, free: 13.34 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.02215/0.02215, allocations: 6.662 MB / 319.8 MB, free: 26.77 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.182e-06/1.182e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.033e-05, allocations: 8.812 kB / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0008127/0.000833, allocations: 0.4931 MB / 447.1 MB, free: 36.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.001606, allocations: 1.131 MB / 448.3 MB, free: 35.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.00163, allocations: 0 / 448.3 MB, free: 35.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.001858, allocations: 23.91 kB / 448.3 MB, free: 35.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.726e-05/0.001895, allocations: 27.84 kB / 448.3 MB, free: 35.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.001898, allocations: 0 / 448.3 MB, free: 35.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.001946, allocations: 23.92 kB / 448.3 MB, free: 35.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.001983, allocations: 3.984 kB / 448.3 MB, free: 35.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.002125, allocations: 27.91 kB / 448.4 MB, free: 35.4 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.002201, allocations: 19.92 kB / 448.4 MB, free: 35.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.002211, allocations: 4 kB / 448.4 MB, free: 35.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.002219, allocations: 0 / 448.4 MB, free: 35.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.002301, allocations: 79.77 kB / 448.5 MB, free: 35.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.002317, allocations: 11.94 kB / 448.5 MB, free: 35.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.787e-05/0.002365, allocations: 43.8 kB / 448.5 MB, free: 35.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.002367, allocations: 0 / 448.5 MB, free: 35.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.002368, allocations: 3.938 kB / 448.5 MB, free: 35.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.002371, allocations: 3.938 kB / 448.5 MB, free: 35.23 MB / 330.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.0002587/0.002629, allocations: 333.7 kB / 448.9 MB, free: 34.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.002659, allocations: 8.031 kB / 448.9 MB, free: 34.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.002689, allocations: 88.17 kB / 449 MB, free: 34.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/0.002777, allocations: 229.7 kB / 449.2 MB, free: 34.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.00279, allocations: 150.9 kB / 449.3 MB, free: 34.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.0028, allocations: 154.9 kB / 449.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.959e-05/0.002829, allocations: 109.5 kB / 449.6 MB, free: 34.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.002838, allocations: 75.47 kB / 449.7 MB, free: 34.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.00285, allocations: 150.9 kB / 449.8 MB, free: 33.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.00286, allocations: 154.5 kB / 450 MB, free: 33.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.166e-05/0.002872, allocations: 158.5 kB / 450.1 MB, free: 33.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.002996, allocations: 429.6 kB / 450.5 MB, free: 33.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.228e-05/0.003028, allocations: 173.1 kB / 450.7 MB, free: 32.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-06/0.003038, allocations: 80.14 kB / 450.8 MB, free: 32.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.003046, allocations: 79.28 kB / 450.9 MB, free: 32.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.00306, allocations: 109.8 kB / 451 MB, free: 32.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.003061, allocations: 4 kB / 451 MB, free: 32.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.597e-05/0.003107, allocations: 45.59 kB / 451 MB, free: 32.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.003128, allocations: 130.6 kB / 451.1 MB, free: 32.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.003251, allocations: 227.9 kB / 451.4 MB, free: 32.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-06/0.003253, allocations: 25.7 kB / 451.4 MB, free: 32.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.003282, allocations: 116.1 kB / 451.5 MB, free: 32.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.003284, allocations: 0 / 451.5 MB, free: 32.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.003297, allocations: 13.72 kB / 451.5 MB, free: 32.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.857e-05/0.003325, allocations: 326.8 kB / 451.8 MB, free: 31.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-06/0.003329, allocations: 0 / 451.8 MB, free: 31.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-06/0.003331, allocations: 0 / 451.8 MB, free: 31.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-06/0.003338, allocations: 79.28 kB / 451.9 MB, free: 31.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.003344, allocations: 75.28 kB / 452 MB, free: 31.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.647e-05/0.00337, allocations: 45.59 kB / 452 MB, free: 31.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.003383, allocations: 81.78 kB / 452.1 MB, free: 31.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.00339, allocations: 79.28 kB / 452.2 MB, free: 31.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.003408, allocations: 158.5 kB / 452.3 MB, free: 31.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-06/0.003415, allocations: 79.28 kB / 452.4 MB, free: 31.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.003425, allocations: 166.5 kB / 452.6 MB, free: 31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.003467, allocations: 79.22 kB / 452.7 MB, free: 30.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.003472, allocations: 79.39 kB / 452.7 MB, free: 30.84 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 5.143e-05/0.003524, allocations: 293.7 kB / 453 MB, free: 30.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.003544, allocations: 116.8 kB / 453.1 MB, free: 30.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.003564, allocations: 133.3 kB / 453.3 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.003575, allocations: 176.3 kB / 453.4 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.003588, allocations: 188.1 kB / 453.6 MB, free: 29.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.003599, allocations: 180.3 kB / 453.8 MB, free: 29.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.688e-05/0.003676, allocations: 388.8 kB / 454.2 MB, free: 29.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.003685, allocations: 105 kB / 454.3 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-06/0.003693, allocations: 108.9 kB / 454.4 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.003706, allocations: 176.3 kB / 454.6 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.003719, allocations: 176.3 kB / 454.7 MB, free: 28.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.00373, allocations: 188.2 kB / 454.9 MB, free: 28.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.003741, allocations: 180.2 kB / 455.1 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.01e-05/0.003781, allocations: 323.6 kB / 455.4 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.003799, allocations: 116.9 kB / 455.5 MB, free: 27.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.003822, allocations: 184.2 kB / 455.7 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.00386, allocations: 105 kB / 455.8 MB, free: 27.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.00388, allocations: 184.2 kB / 456 MB, free: 27.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.003888, allocations: 104.9 kB / 456.1 MB, free: 27.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.003959, allocations: 176.1 kB / 456.3 MB, free: 27.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003959, allocations: 0 / 456.3 MB, free: 27.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.004111, allocations: 8 kB / 456.3 MB, free: 27.12 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 4.736e-05/0.004158, allocations: 166.5 kB / 456.4 MB, free: 26.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 2.929e-05/0.004188, allocations: 4 kB / 456.4 MB, free: 26.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.004189, allocations: 0 / 456.4 MB, free: 26.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.00419, allocations: 3.938 kB / 456.4 MB, free: 26.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.004364, allocations: 463.6 kB / 456.9 MB, free: 26.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.004578, allocations: 326.6 kB / 457.2 MB, free: 26.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.004618, allocations: 100.7 kB / 457.3 MB, free: 26.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.004633, allocations: 8.5 kB / 457.3 MB, free: 26.01 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.004633, allocations: 8 kB / 457.3 MB, free: 26 MB / 330.7 MB Notification: Performance of Templates: time 0.001167/0.005801, allocations: 0.7851 MB / 458.1 MB, free: 25.21 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.11570521723479] Failed to read output from testmodel.py, exit status != 0: 0.009365202859044075 0.015422624000000001 0.01179842 Calling exit ...