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.001345/0.001345, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001678/0.001678, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.0141/0.0141, allocations: 2.632 MB / 315.8 MB, free: 484 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.003126/0.003126, allocations: 111.8 kB / 439.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1158, allocations: 53.98 MB / 493.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01887/0.1347, allocations: 14.88 MB / 0.4964 GB, free: 8.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.1456, allocations: 5.261 MB / 0.5015 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.1483, allocations: 115.2 kB / 0.5016 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.1514, allocations: 1.107 MB / 0.5027 GB, free: 2.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.1551, allocations: 1.185 MB / 0.5039 GB, free: 1.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.1571, allocations: 0.8333 MB / 0.5047 GB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2402/0.3973, allocations: 3.232 MB / 0.5078 GB, free: 6.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.3996, allocations: 1.49 MB / 0.5093 GB, free: 6.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.402, allocations: 1.416 MB / 0.5107 GB, free: 5.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.4046, allocations: 1.654 MB / 0.5123 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006431/0.4053, allocations: 388.2 kB / 0.5127 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.4067, allocations: 0.6043 MB / 0.5133 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007373/0.4075, allocations: 0.871 MB / 0.5141 GB, free: 5.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.4097, allocations: 1.673 MB / 0.5157 GB, free: 4.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007725/0.4174, allocations: 5.161 MB / 0.5208 GB, free: 3.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4174, allocations: 4 kB / 0.5208 GB, free: 3.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4174, allocations: 1.125 kB / 0.5208 GB, free: 3.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001468/0.4175, allocations: 0 / 0.5208 GB, free: 3.145 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.00832/0.4259, allocations: 3.511 MB / 0.5242 GB, free: 1.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4259, allocations: 10.28 kB / 0.5242 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.4285, allocations: 0.5565 MB / 0.5248 GB, free: 1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.4317, allocations: 1.805 MB / 0.5265 GB, free: 8 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.4321, allocations: 215.4 kB / 0.5267 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004377/0.4325, allocations: 250.7 kB / 0.527 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005512/0.438, allocations: 3.293 MB / 0.5302 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/0.4381, allocations: 0 / 0.5302 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.4383, allocations: 106 kB / 0.5303 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.4385, allocations: 124.5 kB / 0.5304 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004706/0.4432, allocations: 2.724 MB / 0.5331 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/0.4601, allocations: 10.59 MB / 0.5434 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.4629, allocations: 1.427 MB / 0.5448 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.4643, allocations: 0.7652 MB / 0.5456 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004426/0.4687, allocations: 2.28 MB / 0.5478 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4688, allocations: 40.09 kB / 0.5478 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.535e-06/0.4688, allocations: 3.938 kB / 0.5478 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=117): time 0.01134/0.4801, allocations: 5.19 MB / 0.5529 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007768/0.4879, allocations: 5.083 MB / 0.5579 GB, free: 4.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.4904, allocations: 1.537 MB / 0.5594 GB, free: 3.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.4906, allocations: 45.7 kB / 0.5594 GB, free: 3.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.4916, allocations: 1.292 MB / 0.5607 GB, free: 1.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.4921, allocations: 422.6 kB / 0.5611 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004366/0.4925, allocations: 279.4 kB / 0.5613 GB, free: 1.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4926, allocations: 309 kB / 0.5616 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.4936, allocations: 0.6169 MB / 0.5622 GB, free: 272 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.495, allocations: 1.137 MB / 0.5633 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.4975, allocations: 1.896 MB / 0.5652 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.4975, allocations: 8 kB / 0.5652 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003389/0.5009, allocations: 2.029 MB / 0.5672 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.5009, allocations: 15.94 kB / 0.5672 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.5009, allocations: 16 kB / 0.5672 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.5012, allocations: 94.14 kB / 0.5673 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.5026, allocations: 396.9 kB / 0.5677 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.511e-05/0.5027, allocations: 35.11 kB / 0.5677 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.5039, allocations: 87.83 kB / 0.5678 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.5041, allocations: 75.98 kB / 0.5679 GB, free: 10.21 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.001783/0.5059, allocations: 0.814 MB / 0.5687 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/0.5062, allocations: 178.8 kB / 0.5688 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.5097, allocations: 1.819 MB / 0.5706 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5097, allocations: 12 kB / 0.5706 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5097, allocations: 0 / 0.5706 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.5097, allocations: 11.97 kB / 0.5706 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009586/0.5193, allocations: 5.479 MB / 0.576 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5193, allocations: 4 kB / 0.576 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/0.5201, allocations: 186.3 kB / 0.5762 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.5213, allocations: 401.9 kB / 0.5765 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/0.5213, allocations: 23.98 kB / 0.5766 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007432/0.5288, allocations: 5.073 MB / 0.5815 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007294/0.5361, allocations: 4.964 MB / 0.5864 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.5407, allocations: 2.762 MB / 0.5891 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/0.5417, allocations: 329.8 kB / 0.5894 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.5419, allocations: 28.06 kB / 0.5894 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.5426, allocations: 59.94 kB / 0.5895 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.5429, allocations: 96.75 kB / 0.5896 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.5429, allocations: 39.83 kB / 0.5896 GB, free: 3.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001662/0.5446, allocations: 1.039 MB / 0.5906 GB, free: 2.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5446, allocations: 8 kB / 0.5906 GB, free: 2.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001861/0.5465, allocations: 0.5073 MB / 0.5911 GB, free: 2.145 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.0002964/0.5468, allocations: 142 kB / 0.5912 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.5493, allocations: 1.504 MB / 0.5927 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5493, allocations: 3.469 kB / 0.5927 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.551, allocations: 0.9789 MB / 0.5937 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.5531, allocations: 492.6 kB / 0.5941 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008391/0.5614, allocations: 4.796 MB / 0.5988 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.5633, allocations: 1.924 MB / 0.6007 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005627/0.5639, allocations: 135.4 kB / 0.6008 GB, free: 8.156 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5639, allocations: 0 / 0.6008 GB, free: 8.156 MB / 446.1 MB Notification: Performance of Templates: time 0.07691/0.6408, allocations: 59 MB / 0.6585 GB, free: 13.25 MB / 0.4981 GB " [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: 12.130967924837023] Failed to read output from testmodel.py, exit status != 0: 0.649034857051447 0.663144362 0.242677987 Calling exit ...