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.001788/0.001788, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002115/0.002115, allocations: 213.5 kB / 22.99 MB, free: 4.945 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.01448/0.01448, allocations: 2.63 MB / 315.8 MB, free: 312 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.003465/0.003465, allocations: 111.8 kB / 439.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1056, allocations: 53.98 MB / 493.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01798/0.1236, allocations: 12.91 MB / 0.4944 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.1366, allocations: 4.938 MB / 0.4992 GB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.1394, allocations: 115.3 kB / 0.4993 GB, free: 5.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003581/0.143, allocations: 1.025 MB / 0.5003 GB, free: 4.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004623/0.1476, allocations: 1.169 MB / 0.5015 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.1502, allocations: 0.7871 MB / 0.5022 GB, free: 2.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2444/0.3946, allocations: 3.245 MB / 0.5054 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.3975, allocations: 1.428 MB / 0.5068 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.3999, allocations: 1.415 MB / 0.5082 GB, free: 5.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.4029, allocations: 1.526 MB / 0.5097 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008185/0.4037, allocations: 386.9 kB / 0.51 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.4056, allocations: 0.5817 MB / 0.5106 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008775/0.4065, allocations: 0.8725 MB / 0.5115 GB, free: 5.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.4083, allocations: 1.32 MB / 0.5128 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006941/0.4152, allocations: 5.185 MB / 0.5178 GB, free: 4.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4152, allocations: 4 kB / 0.5178 GB, free: 4.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4152, allocations: 1.281 kB / 0.5178 GB, free: 4.438 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001631/0.4154, allocations: 0.75 kB / 0.5178 GB, free: 4.438 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.01023/0.4256, allocations: 3.515 MB / 0.5213 GB, free: 2.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4257, allocations: 15.08 kB / 0.5213 GB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.4285, allocations: 0.5551 MB / 0.5218 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00384/0.4323, allocations: 1.803 MB / 0.5236 GB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.4325, allocations: 191.4 kB / 0.5238 GB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005172/0.433, allocations: 258.5 kB / 0.524 GB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006117/0.4391, allocations: 3.381 MB / 0.5273 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.79e-05/0.4392, allocations: 4 kB / 0.5273 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.4394, allocations: 109.9 kB / 0.5274 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.4396, allocations: 120.2 kB / 0.5275 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00466/0.4442, allocations: 2.713 MB / 0.5302 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.4638, allocations: 9.28 MB / 0.5392 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.4668, allocations: 1.412 MB / 0.5406 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.4682, allocations: 0.7638 MB / 0.5414 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004861/0.473, allocations: 2.022 MB / 0.5433 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.4731, allocations: 47.73 kB / 0.5434 GB, free: 3.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 3.507e-06/0.4731, allocations: 0 / 0.5434 GB, free: 3.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01234/0.4854, allocations: 5.171 MB / 0.5484 GB, free: 14.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008268/0.4937, allocations: 4.963 MB / 0.5533 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/0.4962, allocations: 1.379 MB / 0.5546 GB, free: 8.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.4964, allocations: 41.7 kB / 0.5547 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.4976, allocations: 1.302 MB / 0.5559 GB, free: 6.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.4981, allocations: 430.7 kB / 0.5563 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/0.4987, allocations: 279.4 kB / 0.5566 GB, free: 6.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4988, allocations: 309 kB / 0.5569 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.4999, allocations: 0.6091 MB / 0.5575 GB, free: 5.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.5014, allocations: 1.167 MB / 0.5586 GB, free: 3.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.5041, allocations: 1.9 MB / 0.5605 GB, free: 1.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.5041, allocations: 4 kB / 0.5605 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00352/0.5076, allocations: 2.012 MB / 0.5625 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.5077, allocations: 12 kB / 0.5625 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.5077, allocations: 16 kB / 0.5625 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/0.508, allocations: 94.34 kB / 0.5626 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.5094, allocations: 402.6 kB / 0.563 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.83e-05/0.5095, allocations: 38.02 kB / 0.563 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.5108, allocations: 83.89 kB / 0.5631 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.5109, allocations: 75.98 kB / 0.5632 GB, free: 15.31 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.001638/0.5126, allocations: 0.8123 MB / 0.564 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004063/0.513, allocations: 159 kB / 0.5641 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.5166, allocations: 1.809 MB / 0.5659 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.5166, allocations: 12 kB / 0.5659 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5166, allocations: 8 kB / 0.5659 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5166, allocations: 7.969 kB / 0.5659 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.5271, allocations: 4.936 MB / 0.5707 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.5271, allocations: 7.938 kB / 0.5707 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.5279, allocations: 188.7 kB / 0.5709 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.5292, allocations: 397.9 kB / 0.5713 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-05/0.5293, allocations: 24 kB / 0.5713 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007815/0.5371, allocations: 4.955 MB / 0.5761 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007952/0.545, allocations: 4.864 MB / 0.5809 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.5501, allocations: 2.743 MB / 0.5836 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.5513, allocations: 302.9 kB / 0.5839 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005139/0.5518, allocations: 27.98 kB / 0.5839 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5529, allocations: 63.81 kB / 0.5839 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.5532, allocations: 99.81 kB / 0.584 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/0.5533, allocations: 32 kB / 0.5841 GB, free: 9.637 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002257/0.5556, allocations: 0.9095 MB / 0.585 GB, free: 8.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5556, allocations: 0 / 0.585 GB, free: 8.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002581/0.5581, allocations: 0.5039 MB / 0.5855 GB, free: 8.223 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.0004159/0.5586, allocations: 153 kB / 0.5856 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.5616, allocations: 1.496 MB / 0.5871 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.5616, allocations: 0 / 0.5871 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.5637, allocations: 0.9855 MB / 0.588 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.5666, allocations: 416.1 kB / 0.5884 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.5778, allocations: 4.775 MB / 0.5931 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/0.5803, allocations: 1.359 MB / 0.5944 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007059/0.581, allocations: 131.4 kB / 0.5945 GB, free: 14.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.581, allocations: 0 / 0.5945 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Templates: time 0.08762/0.6686, allocations: 58.76 MB / 0.6519 GB, free: 4.223 MB / 494.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: 11.324839500244707] Failed to read output from testmodel.py, exit status != 0: 0.6773645142093301 0.69263692 0.27411388999999997 Calling exit ...