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.001362/0.001362, allocations: 92.2 kB / 20.19 MB, free: 4.359 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 1.15/1.15, allocations: 177.2 MB / 200.5 MB, free: 5.824 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.00185/0.00185, allocations: 164.5 kB / 257 MB, free: 13.2 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.02406/0.02406, allocations: 6.664 MB / 320.1 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 1.192e-06/1.192e-06, allocations: 0 / 391.6 MB, free: 2.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.736e-05, allocations: 2.312 kB / 391.6 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0009755/0.0009929, allocations: 0.5205 MB / 392.2 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.002066, allocations: 1.147 MB / 393.3 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.002095, allocations: 0 / 393.3 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.002343, allocations: 27.89 kB / 393.3 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.002386, allocations: 19.86 kB / 393.3 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.936e-06/0.002389, allocations: 0 / 393.3 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.676e-05/0.002446, allocations: 23.92 kB / 393.4 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.002479, allocations: 3.938 kB / 393.4 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.002631, allocations: 31.89 kB / 393.4 MB, free: 1.168 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.002731, allocations: 19.98 kB / 393.4 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.002742, allocations: 0 / 393.4 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-06/0.00275, allocations: 0 / 393.4 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.002925, allocations: 83.77 kB / 393.5 MB, free: 1.066 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.002947, allocations: 11.94 kB / 393.5 MB, free: 1.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.659e-05/0.003013, allocations: 51.78 kB / 393.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003015, allocations: 0 / 393.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003016, allocations: 0 / 393.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.003019, allocations: 0 / 393.6 MB, free: 1.004 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.0003234/0.003342, allocations: 444 kB / 394 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.003379, allocations: 8.031 kB / 394 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.003435, allocations: 136 kB / 394.1 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.003572, allocations: 260.6 kB / 394.4 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.003643, allocations: 238.8 kB / 394.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.003698, allocations: 246.7 kB / 394.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.477e-05/0.003763, allocations: 149.5 kB / 395 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.003791, allocations: 119.4 kB / 395.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.003848, allocations: 238.8 kB / 395.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.003904, allocations: 242.3 kB / 395.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/0.003961, allocations: 242.4 kB / 395.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.004222, allocations: 0.6188 MB / 396.5 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.486e-05/0.004317, allocations: 265.4 kB / 396.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.004355, allocations: 134.9 kB / 396.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.004383, allocations: 119.2 kB / 397 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.004428, allocations: 152.6 kB / 397.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.004429, allocations: 7.938 kB / 397.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.078e-05/0.00449, allocations: 45.55 kB / 397.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.004551, allocations: 178.5 kB / 397.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.004729, allocations: 270.8 kB / 397.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.004737, allocations: 25.7 kB / 397.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.004799, allocations: 178.8 kB / 397.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.004801, allocations: 0 / 397.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.004818, allocations: 15.38 kB / 397.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.00493, allocations: 0.5001 MB / 398.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.004934, allocations: 0 / 398.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-06/0.004937, allocations: 0 / 398.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.004963, allocations: 127.2 kB / 398.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.45e-05/0.004987, allocations: 119.2 kB / 398.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.555e-05/0.005033, allocations: 57.61 kB / 398.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.005066, allocations: 123.2 kB / 398.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.005092, allocations: 119.2 kB / 398.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.926e-05/0.005151, allocations: 242.4 kB / 399.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.473e-05/0.005176, allocations: 123.1 kB / 399.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.962e-05/0.005226, allocations: 242.3 kB / 399.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.005286, allocations: 127.1 kB / 399.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.00531, allocations: 123.2 kB / 399.7 MB, free: 10.65 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.0001056/0.005416, allocations: 399 kB / 400.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.005463, allocations: 156.8 kB / 400.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.005517, allocations: 165.3 kB / 400.4 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/0.005577, allocations: 272.1 kB / 400.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.144e-05/0.005668, allocations: 272 kB / 400.9 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/0.00572, allocations: 264.1 kB / 401.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.0059, allocations: 0.5311 MB / 401.7 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-05/0.005931, allocations: 152.8 kB / 401.9 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.005963, allocations: 148.9 kB / 402 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-05/0.006017, allocations: 272 kB / 402.3 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.006073, allocations: 268.1 kB / 402.5 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.595e-05/0.006129, allocations: 268.1 kB / 402.8 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.694e-05/0.006186, allocations: 280 kB / 403.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.00632, allocations: 459.8 kB / 403.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.006373, allocations: 157.1 kB / 403.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.006447, allocations: 279.9 kB / 404 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.006521, allocations: 148.9 kB / 404.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.006587, allocations: 268.1 kB / 404.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.006623, allocations: 152.8 kB / 404.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.383e-05/0.006716, allocations: 184.1 kB / 404.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006716, allocations: 0 / 404.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.006874, allocations: 8 kB / 404.7 MB, free: 5.445 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.008e-05/0.006954, allocations: 210.4 kB / 404.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.081e-05/0.006985, allocations: 4 kB / 404.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006986, allocations: 0 / 404.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.006987, allocations: 0 / 404.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.007274, allocations: 0.7178 MB / 405.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.007538, allocations: 317.8 kB / 405.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.226e-05/0.00758, allocations: 79.25 kB / 406 MB, free: 4.066 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.23e-05/0.007592, allocations: 0 / 406 MB, free: 4.066 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.007611, allocations: 12.5 kB / 406 MB, free: 4.055 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007611, allocations: 0 / 406 MB, free: 4.055 MB / 330.7 MB Notification: Performance of Templates: time 0.001592/0.009203, allocations: 253.4 kB / 406.3 MB, free: 3.812 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: 3.1064700030256063]