Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.SMPM_NominalOperation.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.001427/0.001427, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] 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.001646/0.001646, allocations: 214.2 kB / 22.25 MB, free: 5.262 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.01419/0.01419, allocations: 2.623 MB / 315 MB, free: 408 kB / 238.1 MB " [Timeout remaining time 180] Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") translateModel(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") [Timeout 660] "Notification: BLDC requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BLDC requested package ModelicaServices of version 4.0.0. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BLDC requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 107.8 kB / 438.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1171, allocations: 53.98 MB / 492.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01674/0.1338, allocations: 12.91 MB / 0.4937 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.1441, allocations: 4.938 MB / 0.4985 GB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.1466, allocations: 115.2 kB / 0.4986 GB, free: 5.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.1496, allocations: 1.025 MB / 0.4996 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.1533, allocations: 1.177 MB / 0.5007 GB, free: 3.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.1553, allocations: 0.7871 MB / 0.5015 GB, free: 2.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2771/0.4324, allocations: 3.233 MB / 0.5047 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.4351, allocations: 1.426 MB / 0.5061 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.4374, allocations: 1.419 MB / 0.5074 GB, free: 5.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.4399, allocations: 1.526 MB / 0.5089 GB, free: 5.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006188/0.4405, allocations: 387.9 kB / 0.5093 GB, free: 5.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.442, allocations: 0.5827 MB / 0.5099 GB, free: 5.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008937/0.4429, allocations: 0.8693 MB / 0.5107 GB, free: 5.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.4445, allocations: 1.318 MB / 0.512 GB, free: 5.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006949/0.4515, allocations: 5.191 MB / 0.5171 GB, free: 4.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4515, allocations: 0 / 0.5171 GB, free: 4.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4515, allocations: 1.188 kB / 0.5171 GB, free: 4.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001616/0.4517, allocations: 0 / 0.5171 GB, free: 4.461 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 673 * Number of variables: 673 Notification: Performance of Generate backend data structure: time 0.009601/0.4613, allocations: 3.512 MB / 0.5205 GB, free: 2.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4613, allocations: 12.88 kB / 0.5205 GB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.464, allocations: 0.5555 MB / 0.5211 GB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/0.4676, allocations: 1.807 MB / 0.5228 GB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.4677, allocations: 192.6 kB / 0.523 GB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/0.4681, allocations: 258.5 kB / 0.5233 GB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005875/0.474, allocations: 3.376 MB / 0.5266 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.834e-05/0.4741, allocations: 6.172 kB / 0.5266 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.4744, allocations: 110.7 kB / 0.5267 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.4745, allocations: 115.3 kB / 0.5268 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004607/0.4791, allocations: 2.714 MB / 0.5294 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.4961, allocations: 9.285 MB / 0.5385 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.4988, allocations: 1.408 MB / 0.5399 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.5, allocations: 0.7682 MB / 0.5406 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004567/0.5046, allocations: 2.016 MB / 0.5426 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.5047, allocations: 49.27 kB / 0.5426 GB, free: 4.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.975e-06/0.5047, allocations: 0 / 0.5426 GB, free: 4.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01262/0.5173, allocations: 5.174 MB / 0.5477 GB, free: 14.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008157/0.5254, allocations: 4.974 MB / 0.5525 GB, free: 9.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.5282, allocations: 1.368 MB / 0.5539 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.5284, allocations: 41.7 kB / 0.5539 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.5295, allocations: 1.303 MB / 0.5552 GB, free: 7.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004543/0.53, allocations: 425.2 kB / 0.5556 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/0.5305, allocations: 279.4 kB / 0.5559 GB, free: 6.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5306, allocations: 305.1 kB / 0.5562 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.5317, allocations: 0.6147 MB / 0.5568 GB, free: 5.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.5332, allocations: 1.17 MB / 0.5579 GB, free: 4.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002787/0.536, allocations: 1.897 MB / 0.5598 GB, free: 1.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/0.536, allocations: 4 kB / 0.5598 GB, free: 1.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003789/0.5398, allocations: 2.012 MB / 0.5617 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.5398, allocations: 16.03 kB / 0.5617 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/0.5399, allocations: 20 kB / 0.5618 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.5402, allocations: 93.61 kB / 0.5618 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.5419, allocations: 397.1 kB / 0.5622 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.447e-05/0.542, allocations: 39.58 kB / 0.5623 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.5434, allocations: 87.89 kB / 0.5623 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.5436, allocations: 75.98 kB / 0.5624 GB, free: 15.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (193): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001754/0.5453, allocations: 0.8097 MB / 0.5632 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.5457, allocations: 155 kB / 0.5634 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/0.5494, allocations: 1.81 MB / 0.5651 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5494, allocations: 12 kB / 0.5651 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5494, allocations: 0.75 kB / 0.5651 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.5494, allocations: 10.59 kB / 0.5651 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.5603, allocations: 4.944 MB / 0.57 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5603, allocations: 4 kB / 0.57 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/0.5611, allocations: 183.8 kB / 0.5702 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.5623, allocations: 406.1 kB / 0.5705 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.516e-05/0.5624, allocations: 23.98 kB / 0.5706 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008/0.5704, allocations: 4.96 MB / 0.5754 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007986/0.5784, allocations: 4.855 MB / 0.5801 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005112/0.5835, allocations: 2.745 MB / 0.5828 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.5846, allocations: 299 kB / 0.5831 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004715/0.585, allocations: 24 kB / 0.5831 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.5861, allocations: 67.8 kB / 0.5832 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.5863, allocations: 95.53 kB / 0.5833 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.5864, allocations: 35.98 kB / 0.5833 GB, free: 9.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.5884, allocations: 0.9056 MB / 0.5842 GB, free: 8.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5884, allocations: 0 / 0.5842 GB, free: 8.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002367/0.5908, allocations: 0.5116 MB / 0.5847 GB, free: 8.277 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 ($STATESET1.x) * 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 (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003587/0.5911, allocations: 154.7 kB / 0.5849 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.594, allocations: 1.494 MB / 0.5863 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.594, allocations: 0 / 0.5863 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.5961, allocations: 0.9855 MB / 0.5873 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.5987, allocations: 422 kB / 0.5877 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.6093, allocations: 4.756 MB / 0.5923 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/0.6118, allocations: 1.399 MB / 0.5937 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.6133, allocations: 361.7 kB / 0.594 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.6137, allocations: 111.4 kB / 0.5941 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6137, allocations: 0 / 0.5941 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Templates: time 0.05367/0.6674, allocations: 28 MB / 0.6215 GB, free: 3.039 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f BLDC_BLDC.Examples.SMPM_NominalOperation.makefile [Timeout 660] (rm -f BLDC_BLDC.Examples.SMPM_NominalOperation.pipe ; mkfifo BLDC_BLDC.Examples.SMPM_NominalOperation.pipe ; head -c 1048576 < BLDC_BLDC.Examples.SMPM_NominalOperation.pipe >> ../files/BLDC_BLDC.Examples.SMPM_NominalOperation.sim & ./BLDC_BLDC.Examples.SMPM_NominalOperation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9426532704383135] Failed to read output from testmodel.py, exit status != 0: 0.6760410778224468 0.6942227440000001 0.23903153800000002 Calling exit ...