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.0009031/0.0009031, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002163, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.069/1.069, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.231/1.3, allocations: 53.65 MB / 242 MB, free: 2.621 MB / 234.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.0009145/0.0009145, allocations: 155.7 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002147, allocations: 487 kB / 243.4 MB, free: 1.281 MB / 234.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.02585/0.02585, allocations: 6.646 MB / 250.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006467/0.03232, allocations: 2.67 MB / 253.5 MB, free: 7.422 MB / 250.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.533e-06/1.533e-06, allocations: 0 / 254.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.691e-05, allocations: 2.312 kB / 254.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001555/0.001582, allocations: 0.5661 MB / 255.3 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002873, allocations: 1.158 MB / 256.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.002903, allocations: 3.938 kB / 256.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.003086, allocations: 19.91 kB / 256.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.003143, allocations: 31.84 kB / 256.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.457e-06/0.003147, allocations: 0 / 256.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.829e-05/0.003225, allocations: 27.91 kB / 256.5 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.00327, allocations: 4 kB / 256.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.003511, allocations: 43.84 kB / 256.6 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.003641, allocations: 27.91 kB / 256.6 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.003657, allocations: 0 / 256.6 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.003668, allocations: 0 / 256.6 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.00379, allocations: 67.88 kB / 256.7 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.003812, allocations: 7.938 kB / 256.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.452e-05/0.003907, allocations: 51.7 kB / 256.7 MB, free: 4.117 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.00392, allocations: 4 kB / 256.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.003921, allocations: 0 / 256.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.003932, allocations: 4 kB / 256.8 MB, free: 4.109 MB / 250.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.0003915/0.004323, allocations: 312 kB / 257.1 MB, free: 3.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.004361, allocations: 8.031 kB / 257.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.004409, allocations: 84.2 kB / 257.1 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.004559, allocations: 217.8 kB / 257.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.004608, allocations: 150.9 kB / 257.5 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.004653, allocations: 150.9 kB / 257.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.618e-05/0.004719, allocations: 109.5 kB / 257.8 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.004746, allocations: 79.47 kB / 257.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.004796, allocations: 150.9 kB / 258 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/0.004849, allocations: 154.5 kB / 258.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.004898, allocations: 158.5 kB / 258.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.005094, allocations: 349.3 kB / 258.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.005171, allocations: 177.1 kB / 258.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.005197, allocations: 80.14 kB / 258.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.005222, allocations: 79.28 kB / 259 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.005268, allocations: 105.8 kB / 259.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.005269, allocations: 4 kB / 259.1 MB, free: 1.688 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 7.1e-05/0.00534, allocations: 37.69 kB / 259.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.005392, allocations: 126.7 kB / 259.2 MB, free: 1.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.005551, allocations: 183.6 kB / 259.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.005562, allocations: 25.7 kB / 259.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.005602, allocations: 107.8 kB / 259.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.01e-07/0.005602, allocations: 0 / 259.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.005625, allocations: 9.719 kB / 259.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.005725, allocations: 330.7 kB / 259.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-06/0.005728, allocations: 0 / 259.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.005733, allocations: 4 kB / 259.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.005757, allocations: 75.28 kB / 259.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/0.00578, allocations: 83.22 kB / 260 MB, free: 0.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.958e-05/0.005839, allocations: 33.69 kB / 260.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.005875, allocations: 83.28 kB / 260.1 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.005901, allocations: 83.22 kB / 260.2 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.514e-05/0.005956, allocations: 150.6 kB / 260.4 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.326e-05/0.00598, allocations: 79.28 kB / 260.5 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.443e-05/0.006024, allocations: 158.5 kB / 260.6 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.006104, allocations: 79.22 kB / 260.7 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.006146, allocations: 83.22 kB / 260.8 MB, free: 15.92 MB / 266.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.0001118/0.006258, allocations: 263.2 kB / 261 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.006317, allocations: 117.1 kB / 261.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.006373, allocations: 117.4 kB / 261.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.285e-05/0.006446, allocations: 188.3 kB / 261.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.085e-05/0.006497, allocations: 176.3 kB / 261.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-05/0.006552, allocations: 184.2 kB / 261.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.006748, allocations: 337.3 kB / 262.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/0.006787, allocations: 104.9 kB / 262.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.006828, allocations: 105 kB / 262.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.006883, allocations: 116.9 kB / 262.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.427e-05/0.006937, allocations: 188.2 kB / 262.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.006994, allocations: 180.3 kB / 262.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-05/0.007047, allocations: 184.2 kB / 263 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-05/0.007102, allocations: 180.2 kB / 263.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.007225, allocations: 315.7 kB / 263.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.007287, allocations: 180.3 kB / 263.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.007369, allocations: 104.9 kB / 263.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.007428, allocations: 180.3 kB / 263.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.007458, allocations: 101 kB / 264 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.007529, allocations: 59.03 kB / 264.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007529, allocations: 0 / 264.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.007731, allocations: 4 kB / 264.1 MB, free: 12.43 MB / 266.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.0001117/0.007843, allocations: 151.7 kB / 264.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.362e-05/0.007887, allocations: 4 kB / 264.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.007894, allocations: 7.938 kB / 264.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.007896, allocations: 0 / 264.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.008203, allocations: 474.1 kB / 264.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.008508, allocations: 278.9 kB / 265 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.927e-05/0.008558, allocations: 71.33 kB / 265 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.849e-05/0.008576, allocations: 0 / 265 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.008617, allocations: 47.38 kB / 265.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008617, allocations: 4 kB / 265.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Templates: time 0.002183/0.0108, allocations: 274.1 kB / 265.4 MB, free: 11.09 MB / 266.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.703162788413465]